fix zsh keybindings and tilix terminal emulator

This commit is contained in:
2024-04-16 23:38:51 +02:00
vanhempi b7c3300beb
commit 173d3c1673
2 muutettua tiedostoa jossa 15 lisäystä ja 0 poistoa
+5
Näytä tiedosto
@@ -132,6 +132,11 @@ export PATH=$PATH:/home/$USER/go/bin
# Set up Node Version Manager
#source /usr/share/nvm/init-nvm.sh
# fix tilix
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
# setup oh-my-posh
if [ -x /usr/bin/oh-my-posh ]; then
eval "$(oh-my-posh init bash --config ~/.ohmyposh/myshell.minimal.omp.json)"
+10
Näytä tiedosto
@@ -13,6 +13,11 @@ autoload -Uz compinit
compinit
# End of lines added by compinstall
# fix key bindings for delete, pos1 and end
bindkey "^[[H" beginning-of-line
bindkey "^[[F" end-of-line
bindkey "^[[3~" delete-char
# some more ls aliases
alias ll='ls -l'
alias lla='ls -la'
@@ -33,6 +38,11 @@ if [[ -f /usr/share/doc/find-the-command/ftc.zsh ]] ; then
source /usr/share/doc/find-the-command/ftc.zsh
fi
# tilix fix
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
# setup oh-my-posh
if [ -x /usr/bin/oh-my-posh ]; then
eval "$(oh-my-posh init zsh --config ~/.ohmyposh/myshell.minimal.omp.json)"