Cleanup
This commit is contained in:
14
dot_zshrc
14
dot_zshrc
@@ -54,12 +54,18 @@ zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
|
||||
eval "$(oh-my-posh init zsh --config /home/sebastian/.zsh/rudolfs-dark.omp.json)"
|
||||
|
||||
|
||||
#
|
||||
# Fuzzy File Finder
|
||||
#
|
||||
|
||||
export FZF_TMUX_OPTS="-r 30%"
|
||||
export FZF_TMUX=1
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
@@ -77,6 +83,11 @@ if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
if [ -f ~/.config/common_aliases ]; then
|
||||
. ~/.config/common_aliases
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
if [ -z "$TMUX" ] && [ ${UID} != 0 ]
|
||||
@@ -91,11 +102,8 @@ export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH="$PATH:/home/sebastian/go/bin:/home/sebastian/.cargo/bin"
|
||||
|
||||
|
||||
|
||||
|
||||
function tmux_pane(){
|
||||
tmux rename-window "$(basename $PWD)"
|
||||
}
|
||||
|
||||
|
||||
PROMPT_COMMAND="$PROMPT_COMMAND; tmux_pane"
|
||||
|
||||
Reference in New Issue
Block a user