mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
adding cutom plugin
This commit is contained in:
parent
8fb119d55d
commit
602729755e
2 changed files with 12 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,7 +1,6 @@
|
||||||
locals.zsh
|
locals.zsh
|
||||||
log/.zsh_history
|
log/.zsh_history
|
||||||
projects.zsh
|
projects.zsh
|
||||||
custom/*
|
|
||||||
!custom/example
|
!custom/example
|
||||||
!custom/example.zsh
|
!custom/example.zsh
|
||||||
cache
|
cache
|
||||||
|
|
|
||||||
12
custom/plugins/shukyf/shukyf.plugin.zsh
Normal file
12
custom/plugins/shukyf/shukyf.plugin.zsh
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
c() { cd ~/code/$1; }
|
||||||
|
|
||||||
|
_c() { _files -W ~/code -/; }
|
||||||
|
compdef _c c
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
b() { cd ~/code/biokm/$1; }
|
||||||
|
|
||||||
|
_b() { _files -W ~/code/biokm -/; }
|
||||||
|
compdef _b b
|
||||||
Loading…
Add table
Add a link
Reference in a new issue