summaryrefslogtreecommitdiffstats
path: root/.config/shell/aliasrc
diff options
context:
space:
mode:
authorKipras Melnikovas <kipras@kipras.org>2024-07-15 20:37:04 +0300
committerGitHub <noreply@github.com>2024-07-15 17:37:04 +0000
commit131dcce2689f9fe45572212803b36be11ff2eb4e (patch)
tree8381c44ecd2871d66fb1a3826ad983d53f16ec2a /.config/shell/aliasrc
parent368d3583a6c2e067491a160553c4130187fd0127 (diff)
downloadeibhear-131dcce2689f9fe45572212803b36be11ff2eb4e.tar.gz
eibhear-131dcce2689f9fe45572212803b36be11ff2eb4e.tar.zst
eibhear-131dcce2689f9fe45572212803b36be11ff2eb4e.zip
shortcuts: export env vars for each shortcut (#1395)
useful if want to use shortcuts w/ different progs instead of their default behavior (cd / $EDITOR), e.g.: ```sh cd ~/Downloads mv foo.mp3 $music ``` Co-authored-by: Luke Smith <luke@lukesmith.xyz>
Diffstat (limited to '.config/shell/aliasrc')
-rw-r--r--.config/shell/aliasrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc
index 0768337..75327bf 100644
--- a/.config/shell/aliasrc
+++ b/.config/shell/aliasrc
@@ -57,4 +57,4 @@ alias \
alias \
lf="lfub" \
magit="nvim -c MagitOnly" \
- ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" \
+ ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc"