summaryrefslogtreecommitdiff
path: root/home/zshrc.nix
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-03-08 21:00:24 -0600
committerAlejandro Soto <alejandro@34project.org>2022-03-08 21:09:54 -0600
commit65bbf5411d8d3e30bffcc278ccace65c7e75c70c (patch)
tree29c3e9b3e041cf68bee2947f2a66b7bf9f32982d /home/zshrc.nix
parent3e509d0fd1034c1dd67e16ec6000e46be9dd65d9 (diff)
Implement shell environments
Diffstat (limited to '')
-rw-r--r--home/zshrc.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/zshrc.nix b/home/zshrc.nix
index 68c3958..09b6e32 100644
--- a/home/zshrc.nix
+++ b/home/zshrc.nix
@@ -20,6 +20,10 @@
source $HOME/System/dot/git-aliases.zsh
}
+ function shenv() {
+ nix shell 'system#shenvs.'"$1"
+ }
+
function xseli() {
T=$(mktemp)
$EDITOR -n $T