aboutsummaryrefslogtreecommitdiff
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorYousef Jan <yousefjan24000@gmail.com>2026-06-30 15:27:21 +0300
committerYousef Jan <yousefjan24000@gmail.com>2026-06-30 15:27:21 +0300
commiteef237fd3c04a84ab771e8f94e001b4184b53a33 (patch)
tree5cd3066687f8e5399df72e0151af7af98692f03b /bash/.bashrc
parent2ba427332f2c0b8d1480434c688efaee1110ca51 (diff)
Tweaks
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index c82d29c..0b4c41e 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -7,6 +7,7 @@ PS1='[\u@\h \[\e[38;2;175;215;255m\]\w\[\e[0m\]]\$ '
alias python=python3
alias ls='ls -larth'
alias e='emacsclient -nc -a ""'
+alias ke='emacsclient -e "(kill-emacs)"'
alias copy='xclip -selection clipboard'
alias paste='xclip -o -selection clipboard'
@@ -47,7 +48,8 @@ if [ -d ~/.bashrc.d ]; then
done
fi
unset rc
-. "$HOME/.cargo/env"
+
+[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
# pnpm
export PNPM_HOME="/home/yousefjan/.local/share/pnpm"