cleanup aliases and tmux a bit
This commit is contained in:
parent
7345764a7a
commit
2fa2da2f03
|
@ -9,11 +9,11 @@ alias rename="perl-rename"
|
||||||
alias userctl="systemctl --user"
|
alias userctl="systemctl --user"
|
||||||
|
|
||||||
# ls
|
# ls
|
||||||
alias ls='lsd --group-dirs=first '
|
alias ls='lsd --group-dirs=first'
|
||||||
alias l='ls -l'
|
alias l='ls -l'
|
||||||
alias la='ls -a '
|
alias la='ls -a'
|
||||||
alias lla='ls -la '
|
alias lla='ls -la'
|
||||||
alias lt='ls --tree '
|
alias lt='ls --tree'
|
||||||
|
|
||||||
# powershell seems to have trouble with xterm-256color
|
# powershell seems to have trouble with xterm-256color
|
||||||
alias pwsh="TERM=xterm pwsh"
|
alias pwsh="TERM=xterm pwsh"
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
export ZSH_TMUX_AUTOSTART=true
|
||||||
|
export ZSH_TMUX_FIXTERM_WITH_256COLOR=true
|
|
@ -16,10 +16,6 @@ set -s escape-time 0
|
||||||
# Mouse
|
# Mouse
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
# tmux-256color is badly supported on some system, especially servers so we pretend to be screen instead
|
|
||||||
set -g default-terminal 'screen-256color'
|
|
||||||
set -ga terminal-overrides ',screen-256color:Tc'
|
|
||||||
|
|
||||||
# Window
|
# Window
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,6 @@ if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
exec ~/bin/sway
|
exec ~/bin/sway
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# If you come from bash you might have to change your $PATH.
|
# If you come from bash you might have to change your $PATH.
|
||||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue