added ssh, git, ohmyposh; start tmux only on alacritty
This commit is contained in:
18
.zshrc
18
.zshrc
@@ -41,12 +41,12 @@ bindkey '^n' history-search-forward
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
# Ohne Tmux
|
||||
#bindkey "^[[H" beginning-of-line
|
||||
#bindkey "^[[F" end-of-line
|
||||
#bindkey "^[[2~" delete-char
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[2~" delete-char
|
||||
# Mit Tmux
|
||||
bindkey "^[[1~" beginning-of-line
|
||||
bindkey "^[[4~" end-of-line
|
||||
bindkey "^[[1~" beginning-of-line
|
||||
bindkey "^[[4~" end-of-line
|
||||
bindkey "^[[3~" delete-char
|
||||
|
||||
# History
|
||||
@@ -76,7 +76,7 @@ alias c='clear'
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
# Automatically start Tmux
|
||||
if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [[ "$TERM_PROGRAM" != "vscode" ]]; then
|
||||
exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
fi
|
||||
# Automatically start Tmux (currently handled in Alacritty)
|
||||
#if [ -x "$(command -v tmux)" ] && [ -n "${DISPLAY}" ] && [ -z "${TMUX}" ] && [[ "$TERM_PROGRAM" != "vscode" ]]; then
|
||||
# exec tmux new-session -A -s ${USER} >/dev/null 2>&1
|
||||
#fi
|
||||
|
||||
Reference in New Issue
Block a user