aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-05-17 05:51:55 -0400
committertdro <tdro@users.noreply.github.com>2020-05-17 05:51:55 -0400
commit425a10d097a072a880aab2b691908a555d810671 (patch)
treeabae40d6f4d974225485254c45a66d5f973bcbf7 /.bashrc
parent3f2cf6fcde52799f88198eb99a294360627c3919 (diff)
downloaddotfiles-425a10d097a072a880aab2b691908a555d810671.tar.gz
dotfiles-425a10d097a072a880aab2b691908a555d810671.tar.bz2
dotfiles-425a10d097a072a880aab2b691908a555d810671.zip
.bashrc: Add nix helpers
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'