diff --git a/configs/zsh/aliases.sh b/configs/zsh/aliases.sh index 8eafb67..cf0c0cf 100644 --- a/configs/zsh/aliases.sh +++ b/configs/zsh/aliases.sh @@ -10,6 +10,8 @@ alias zshc="vim ~/.zshrc" alias zshu="source ~/.zshrc" alias nano="nvim" +alias vim="nvim" +alias v="nvim" alias ww="webpack -w" diff --git a/configs/zsh/functions.zsh b/configs/zsh/functions.zsh index 977a91b..644aa8d 100644 --- a/configs/zsh/functions.zsh +++ b/configs/zsh/functions.zsh @@ -3,4 +3,5 @@ source $(dirname "$0")/functions/fx.zsh; source $(dirname "$0")/functions/start.zsh; source $(dirname "$0")/functions/wp.zsh; source $(dirname "$0")/functions/y.zsh; -source $(dirname "$0")/functions/fp.zsh; \ No newline at end of file +source $(dirname "$0")/functions/fp.zsh; +source $(dirname "$0")/functions/mke.zsh; \ No newline at end of file diff --git a/configs/zsh/functions/mke.zsh b/configs/zsh/functions/mke.zsh new file mode 100644 index 0000000..dc9dfed --- /dev/null +++ b/configs/zsh/functions/mke.zsh @@ -0,0 +1,4 @@ +function mke(){ + mkdir -p $1 + cd $1 +} \ No newline at end of file