mirror of
https://gitea.zaclys.com/yannic/dotfiles.git
synced 2026-06-15 11:11:57 +02:00
Add machine specific bashrc
This commit is contained in:
+4
-4
@@ -108,10 +108,6 @@ fi
|
||||
alias dmesg='dmesg -T'
|
||||
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
|
||||
alias ta='tmux attach'
|
||||
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
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.bashrc.local" ]; then
|
||||
source $HOME/.bashrc.local
|
||||
fi
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# History
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user