sourcephile
/
git
/
julm
/
julm-nix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58acd80
)
bash: add zfs-unmount
author
Julien Moutinho
<julm+julm-nix@sourcephile.fr>
Sun, 5 Sep 2021 16:02:56 +0000
(18:02 +0200)
committer
Julien Moutinho
<julm+julm-nix@sourcephile.fr>
Sun, 5 Sep 2021 16:02:56 +0000
(18:02 +0200)
homes/softwares/bash.nix
patch
|
blob
|
history
diff --git
a/homes/softwares/bash.nix
b/homes/softwares/bash.nix
index 187b10b42cd503c5d5c326cbc1db36360ae8471c..f30e39802773e14fe4f4460e4163c72cddcba4a7 100644
(file)
--- a/
homes/softwares/bash.nix
+++ b/
homes/softwares/bash.nix
@@
-13,6
+13,7
@@
programs.bash = {
stty -ixon
vim-git () { $EDITOR $(git diff-tree --no-commit-id --name-only -r "$@"); }
zfs-mount () { for d in $(zfs list -rH -o name "$@"); do sudo zfs mount -l "$d"; done; }
+ zfs-unmount () { sudo zfs unmount -u "$@"; }
'';
};
programs.direnv.enableBashIntegration = true;