feat(zsh): add zsh nix shell
This commit is contained in:
parent
d0117cb223
commit
0d0b192dcd
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -19,3 +19,6 @@
|
||||
[submodule "dots/.config/zsh/config/themes/powerlevel10k"]
|
||||
path = dots/.config/zsh/config/themes/powerlevel10k
|
||||
url = https://github.com/romkatv/powerlevel10k.git
|
||||
[submodule "dots/.config/zsh/config/plugins/zsh-nix-shell"]
|
||||
path = dots/.config/zsh/config/plugins/zsh-nix-shell
|
||||
url = https://github.com/chisui/zsh-nix-shell
|
||||
|
@ -1,4 +1,6 @@
|
||||
configure() {}
|
||||
configure() {
|
||||
prompt_nix_shell_setup
|
||||
}
|
||||
|
||||
init() {
|
||||
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/plugins"
|
||||
@ -7,6 +9,7 @@ init() {
|
||||
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
||||
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
source "${wkdir}/nix-zsh-completions/nix.plugin.zsh"
|
||||
source "${wkdir}/zsh-nix-shell/nix-shell.plugin.zsh"
|
||||
|
||||
# export PATH="${PATH}:${wkdir}/forgit/bin"
|
||||
# source "${wkdir}/forgit/forgit.plugin.zsh"
|
||||
|
1
dots/.config/zsh/config/plugins/zsh-nix-shell
Submodule
1
dots/.config/zsh/config/plugins/zsh-nix-shell
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 406ce293f5302fdebca56f8c59ec615743260604
|
Loading…
Reference in New Issue
Block a user