feat: some stuff
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
source $(dirname "$0")/functions/dv.zsh;
|
||||
source $(dirname "$0")/functions/co.zsh;
|
||||
source $(dirname "$0")/functions/fx.zsh;
|
||||
source $(dirname "$0")/functions/start.zsh;
|
||||
@@ -7,7 +8,6 @@ source $(dirname "$0")/functions/rn.zsh;
|
||||
source $(dirname "$0")/functions/sum.zsh;
|
||||
source $(dirname "$0")/functions/myip.zsh;
|
||||
source $(dirname "$0")/functions/cht.zsh;
|
||||
source $(dirname "$0")/functions/dv.zsh;
|
||||
source $(dirname "$0")/functions/run.zsh;
|
||||
source $(dirname "$0")/functions/conf.zsh;
|
||||
source $(dirname "$0")/functions/note.zsh;
|
||||
|
@@ -1,5 +1,7 @@
|
||||
function conf(){
|
||||
|
||||
OLD_PWD=$PWD;
|
||||
|
||||
if [ "$1" = "u" ]; then
|
||||
source ~/.zshrc
|
||||
else
|
||||
@@ -21,7 +23,8 @@ function conf(){
|
||||
nvim .
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
cd $OLD_PWD
|
||||
|
||||
}
|
||||
|
@@ -17,7 +17,15 @@ function fx(){
|
||||
cd $2
|
||||
fi
|
||||
|
||||
if [ "$1" = "d" ]; then
|
||||
dv
|
||||
fi
|
||||
|
||||
if [ "$1" = "v" ]; then
|
||||
nvim .
|
||||
fi
|
||||
|
||||
if [ "$1" = "o" ]; then
|
||||
code-insiders .
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user