summaryrefslogtreecommitdiff
path: root/config/shell/profile
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-08-10 15:40:48 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-08-10 15:40:48 +0400
commit53746f5a3e10bc5e1603daee0e75f13531568457 (patch)
tree0b8246228a15bfe15b3db0692011c7de7d3b5947 /config/shell/profile
parent6f73838b912b00f3ad620a3cd73b8506d018c6e8 (diff)
functionrc for shells added
Diffstat (limited to 'config/shell/profile')
-rw-r--r--config/shell/profile7
1 files changed, 2 insertions, 5 deletions
diff --git a/config/shell/profile b/config/shell/profile
index 640b2f4..c9de99a 100644
--- a/config/shell/profile
+++ b/config/shell/profile
@@ -18,8 +18,5 @@ export XDG_BIN_DIR="$HOME/.local/bin"
export MAKEFLAGS="-j8" # Reduce compile times
-lfcd () {
- cd "$(command lf -print-last-dir "$@")"
-}
-
-[ mkdir -p XDG_BIN_DIR ] && PATH="${XDG_BIN_DIR}":$PATH
+mkdir -p "${XDG_BIN_DIR}"
+PATH="${XDG_BIN_DIR}":$PATH