diff options
Diffstat (limited to 'config/shell')
-rw-r--r-- | config/shell/functionrc | 3 | ||||
-rw-r--r-- | config/shell/profile | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/config/shell/functionrc b/config/shell/functionrc new file mode 100644 index 0000000..7be1e1e --- /dev/null +++ b/config/shell/functionrc @@ -0,0 +1,3 @@ +lfcd () { + cd "$(command lf -print-last-dir "$@")" +} 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 |