34 lines
489 B
Bash
34 lines
489 B
Bash
alias v=vis
|
|
alias ll='ls -l'
|
|
alias tl='tmux list-sessions'
|
|
alias rgh='rg -.'
|
|
alias fdh='fd -H'
|
|
|
|
if which exa > /dev/null; then
|
|
alias ls='exa --icons'
|
|
alias tree='exa --tree --icons'
|
|
fi
|
|
|
|
alias nocaps='setxkbmap pl -option ctrl:nocaps'
|
|
alias fixdp='xrandr --output DP-0 --right-of DP-2'
|
|
|
|
tn() {
|
|
if [ $# -eq 0 ]; then
|
|
tmux new
|
|
else
|
|
tmux new -s "$@"
|
|
fi
|
|
}
|
|
|
|
ta() {
|
|
if [ $# -eq 0 ]; then
|
|
tmux attach
|
|
else
|
|
tmux attach -t "$@"
|
|
fi
|
|
}
|
|
|
|
vf() {
|
|
vis "+fzf-files auto-files '$1'"
|
|
}
|