fix zsh keybindings and tilix terminal emulator

This commit is contained in:
Christoph 2024-04-16 23:38:51 +02:00
parent b7c3300beb
commit 173d3c1673
2 changed files with 15 additions and 0 deletions

View File

@ -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
.zshrc
View File

@ -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)"