summaryrefslogtreecommitdiff
path: root/config/shell/functionrc
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/functionrc
parent6f73838b912b00f3ad620a3cd73b8506d018c6e8 (diff)
functionrc for shells added
Diffstat (limited to 'config/shell/functionrc')
-rw-r--r--config/shell/functionrc3
1 files changed, 3 insertions, 0 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 "$@")"
+}