aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d/alias
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-03-13 10:58:12 +0100
committerKarel Kočí <cynerd@email.cz>2024-03-13 10:58:12 +0100
commit2a1d4e420236988ea5e0a794bc6c602ee617d6f1 (patch)
tree15d38c7162c9159a07060fc25794bae711a0b9c4 /shellrc.d/alias
parent8694e74b2129d432728c0802bf1cfaf4895a6fcf (diff)
downloadshellrc-2a1d4e420236988ea5e0a794bc6c602ee617d6f1.tar.gz
shellrc-2a1d4e420236988ea5e0a794bc6c602ee617d6f1.tar.bz2
shellrc-2a1d4e420236988ea5e0a794bc6c602ee617d6f1.zip
alias: add nrun for 'nix run .'
Diffstat (limited to 'shellrc.d/alias')
-rw-r--r--shellrc.d/alias4
1 files changed, 4 insertions, 0 deletions
diff --git a/shellrc.d/alias b/shellrc.d/alias
index c84c83a..5e412a3 100644
--- a/shellrc.d/alias
+++ b/shellrc.d/alias
@@ -33,3 +33,7 @@ fi
if command -v sdcv 2>/dev/null >&2; then
alias sdcv='sdcv -c'
fi
+
+if command -v nix 2>/dev/null >&2; then
+ alias nrun='nix run .'
+fi