zsh: Add support for nix-shell
This commit is contained in:
parent
4c44fc1f9a
commit
0c862327c9
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -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
1
home/.zsh/zsh-nix-shell
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../zsh-nix-shell
|
|
@ -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
1
zsh-nix-shell
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 6ae30544a284301026d4ee1c437b44f5d1a9952e
|
Reference in a new issue