zsh: Add support for nix-shell

legacy
Simon Bruder 2020-08-18 15:58:33 +02:00
parent 4c44fc1f9a
commit 0c862327c9
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
4 changed files with 8 additions and 0 deletions

3
.gitmodules vendored
View File

@ -19,3 +19,6 @@
[submodule "dircolors-solarized"]
path = dircolors-solarized
url = https://github.com/seebi/dircolors-solarized
[submodule "zsh-nix-shell"]
path = zsh-nix-shell
url = https://github.com/chisui/zsh-nix-shell

1
home/.zsh/zsh-nix-shell Symbolic link
View File

@ -0,0 +1 @@
../../zsh-nix-shell

View File

@ -46,6 +46,9 @@ command -v fzf-share >/dev/null && source $(fzf-share)/key-bindings.zsh
## Color switcher
alias dynamic-colors="~/.dynamic-colors/bin/dynamic-colors"
## Support for nix-shell
source $HOME/.zsh/zsh-nix-shell/nix-shell.plugin.zsh
## Timer
function timer() (
if [ -z "$1" ] || [ -z "$2" ]; then

1
zsh-nix-shell Submodule

@ -0,0 +1 @@
Subproject commit 6ae30544a284301026d4ee1c437b44f5d1a9952e