aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 4ea9b27..5b39e4b 100644
--- a/.bashrc
+++ b/.bashrc
@@ -96,6 +96,9 @@ alias rofi='rofi -cache-dir $XDG_DATA_HOME'
# pulse delay on audacity
alias audacity='PULSE_LATENCY_MSEC=30 audacity'
+# nix helpers
+nix-which() { readlink "$(type -P "$1")"; }
+
# lxc helpers
alias lxc-attach='lxc-attach --clear-env -n'
alias lxc-ls='lxc-ls -f'