Add machine specific bashrc

main
Yax 2 months ago
parent 98610cce2c
commit 50219d8085

@ -108,10 +108,6 @@ fi
alias dmesg='dmesg -T' alias dmesg='dmesg -T'
alias grep='grep --color' alias grep='grep --color'
if hash python3 2>/dev/null; then
alias serve="python3 -m $(python3 -c 'import sys; print("http.server" if sys.version_info[:2] > (2,7) else "SimpleHTTPServer")')"
fi
if hash tmux 2>/dev/null; then if hash tmux 2>/dev/null; then
alias ta='tmux attach' alias ta='tmux attach'
alias tkill="for s in \$(tmux list-sessions | awk -F ':' '{print \$1}' | fzf); do tmux kill-session -t \$s; done;" alias tkill="for s in \$(tmux list-sessions | awk -F ':' '{print \$1}' | fzf); do tmux kill-session -t \$s; done;"
@ -160,6 +156,10 @@ if [ -d "$HOME/.bashrc.d/" ]; then
done done
fi fi
if [ -f "$HOME/.bashrc.local" ]; then
source $HOME/.bashrc.local
fi
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# History # History
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------

Loading…
Cancel
Save