diff options
Diffstat (limited to 'config/zsh')
| -rw-r--r-- | config/zsh/.zshrc | 2 | ||||
| -rw-r--r-- | config/zsh/aliases.zsh | 2 | ||||
| -rwxr-xr-x | config/zsh/zprofile | 5 |
3 files changed, 6 insertions, 3 deletions
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc index 92c55c5..8ee4622 100644 --- a/config/zsh/.zshrc +++ b/config/zsh/.zshrc @@ -9,7 +9,7 @@ case $(tty) in /dev/tty[1-9]) # %~ path ('~' if $HOME) # %B/%b start/stop bold - # %B/%b start/stop color + # %F/%f start/stop color # shellcheck disable=SC2039,SC3003 NEWLINE=$'\n' export PROMPT="${NEWLINE}%B%F{blue}%~%f${NEWLINE}%F{red}> %f%b" diff --git a/config/zsh/aliases.zsh b/config/zsh/aliases.zsh index 7832558..7488ac1 100644 --- a/config/zsh/aliases.zsh +++ b/config/zsh/aliases.zsh @@ -35,7 +35,7 @@ alias ta='tree -a' alias t1='tree -L 1' alias t2='tree -L 2' alias t3='tree -L 3' -alias ti="tree --matchdirs -I __pycache__ -I node_modules -I '*.o'" +alias ti="tree --matchdirs -I __pycache__ -I node_modules -I '*.o' -I build" # man alias ma="man" diff --git a/config/zsh/zprofile b/config/zsh/zprofile index b64522f..c9466d1 100755 --- a/config/zsh/zprofile +++ b/config/zsh/zprofile @@ -81,6 +81,9 @@ export CLOUT_SYNC_PATH="${XDG_DATA_HOME:-$HOME/.sync}/$CLOUT_SYNC_DIR" if [ "$(uname)" = 'Linux' ] && [ "$(tty)" = '/dev/tty1' ] then - startx "$XDG_CONFIG_HOME/x11/xinitrc" + # https://wiki.archlinux.org/title/Xorg/Keyboard_configuration + # setting the keyrepeat delay and interval here as the default ones + # since some applications reset the those if we use xset r rate 200 30 instead + startx "$XDG_CONFIG_HOME/x11/xinitrc" -- -ardelay 200 -arinterval 30 poweroff fi |
