zsh aktu
This commit is contained in:
parent
f696ef42db
commit
ceae5e25d2
4 changed files with 12 additions and 2 deletions
3
config/zsh/.zlogin
Normal file
3
config/zsh/.zlogin
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/zsh
|
||||
|
||||
[ "$(TTY)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
|
|
@ -40,6 +40,11 @@ export XINITRC="${XDG_CONFIG_HOME}/x11/xinitrc"
|
|||
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # it might break some dm
|
||||
|
||||
|
||||
# Move it to independent GTK config
|
||||
export GTK_THEME="Adwaita:dark"
|
||||
# GNUCASH Finance::Quote
|
||||
export ALPHAVANTAGE_API_KEY=UWSYHNQ9BNFU4ZFA
|
||||
|
||||
# This is the list for lf icons:
|
||||
export LF_ICONS="di=📁:\
|
||||
fi=📃:\
|
|
@ -18,6 +18,8 @@ zmodload zsh/complist
|
|||
compinit -Cu
|
||||
_comp_options+=(globdots) # Include hidden files
|
||||
|
||||
unsetopt extendedglob
|
||||
|
||||
bindkey -M menuselect 'h' vi-backward-char
|
||||
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||
bindkey -M menuselect 'l' vi-forward-char
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
BASEDIR=$(pwd)
|
||||
|
||||
source .zshenv
|
||||
source config/zsh/.zshenv
|
||||
|
||||
ln --force --symbolic $BASEDIR/.zshenv $HOME/.zshenv
|
||||
|
||||
mkdir -p "${XDG_CONFIG_HOME}"
|
||||
mkdir -p "${XDG_DATA_HOME}"
|
||||
|
||||
INSTALL_CONFIGS=(dunst i3 i3blocks lf mpd picom redshift rofi tmux x11 zsh)
|
||||
INSTALL_CONFIGS=(dunst git i3 i3blocks lf mpd picom redshift rofi tmux x11 zsh)
|
||||
for f in $INSTALL_CONFIGS ; do
|
||||
echo "Installing config for ${f}..."
|
||||
rm -rf ${XDG_CONFIG_HOME}/${f} > /dev/null 2>&1
|
||||
|
|
Loading…
Reference in a new issue