From 50219d8085b78f78fe2d5133e1832389b5773386 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:03:27 +0200 Subject: [PATCH] Add machine specific bashrc --- dot_bashrc.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dot_bashrc.tmpl b/dot_bashrc.tmpl index 7aa875f..5b334ef 100644 --- a/dot_bashrc.tmpl +++ b/dot_bashrc.tmpl @@ -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 # ---------------------------------------------------------------------------