fix zsh keybindings and tilix terminal emulator
This commit is contained in:
parent
b7c3300beb
commit
173d3c1673
5
.bashrc
5
.bashrc
@ -132,6 +132,11 @@ export PATH=$PATH:/home/$USER/go/bin
|
|||||||
# Set up Node Version Manager
|
# Set up Node Version Manager
|
||||||
#source /usr/share/nvm/init-nvm.sh
|
#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
|
# setup oh-my-posh
|
||||||
if [ -x /usr/bin/oh-my-posh ]; then
|
if [ -x /usr/bin/oh-my-posh ]; then
|
||||||
eval "$(oh-my-posh init bash --config ~/.ohmyposh/myshell.minimal.omp.json)"
|
eval "$(oh-my-posh init bash --config ~/.ohmyposh/myshell.minimal.omp.json)"
|
||||||
|
10
.zshrc
10
.zshrc
@ -13,6 +13,11 @@ autoload -Uz compinit
|
|||||||
compinit
|
compinit
|
||||||
# End of lines added by compinstall
|
# 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
|
# some more ls aliases
|
||||||
alias ll='ls -l'
|
alias ll='ls -l'
|
||||||
alias lla='ls -la'
|
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
|
source /usr/share/doc/find-the-command/ftc.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# tilix fix
|
||||||
|
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||||
|
source /etc/profile.d/vte.sh
|
||||||
|
fi
|
||||||
|
|
||||||
# setup oh-my-posh
|
# setup oh-my-posh
|
||||||
if [ -x /usr/bin/oh-my-posh ]; then
|
if [ -x /usr/bin/oh-my-posh ]; then
|
||||||
eval "$(oh-my-posh init zsh --config ~/.ohmyposh/myshell.minimal.omp.json)"
|
eval "$(oh-my-posh init zsh --config ~/.ohmyposh/myshell.minimal.omp.json)"
|
||||||
|
Loading…
Reference in New Issue
Block a user