'nix shell' fish alias
This commit is contained in:
parent
e9be19a073
commit
80c4bf3e8a
|
@ -10,6 +10,11 @@
|
|||
interactiveShellInit = ''
|
||||
# fzf: use ctrl+f to list files and ctrl+g to show the git log
|
||||
fzf_configure_bindings --directory=\cf --git_log=\cg
|
||||
|
||||
# allows 's foo bar' for 'nix shell nixpkgs#foo nixpkgs#bar'
|
||||
function s --wraps 'nix shell'
|
||||
nix shell nixpkgs#$argv
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue