Added first version of zshrc.sh
This commit is contained in:
40
zshrc.sh
Normal file
40
zshrc.sh
Normal file
@@ -0,0 +1,40 @@
|
||||
# My setup for zshrc
|
||||
# KSI : 2023-07-18
|
||||
|
||||
|
||||
|
||||
alias pycharm="$HOME/Devtools/current/bin/pycharm.sh > /dev/null 2>&1 &"
|
||||
alias psg='ps -aef | grep'
|
||||
|
||||
def init.sheerka() {
|
||||
workon Sheerka
|
||||
DEV_HOME=~/Dev/Sheerka
|
||||
SHEERKA_BACKUP_FOLDER=$DEV_HOME/sheerka_backup
|
||||
SHEERKA_BACKUP_FILE=new.sb
|
||||
export DEV_HOME
|
||||
export SHEERKA_BACKUP_FOLDER
|
||||
export SHEERKA_BACKUP_FILE
|
||||
cd $DEV_HOME
|
||||
alias ssd='cd $DEV_HOME/src; uvicorn server.main:app --port 56356 --reload'
|
||||
alias sc='python $DEV_HOME/src/client.py --username kodjo --password kodjo'
|
||||
alias sheerka.reset=$DEV_HOME/utils/sheerka.reset.sh
|
||||
alias sheerka.rebuild=$DEV_HOME/utils/sheerka.rebuild.sh
|
||||
alias lines_count="find . -name '*.py' | xargs wc -l"
|
||||
alias nb_lines="find . -name '*.py' | xargs wc -l"
|
||||
alias top_lines="find . -name '*.py' | xargs wc -l | sort -n -r"
|
||||
}
|
||||
|
||||
def init.debugSheerka() {
|
||||
DEV_HOME=~/Dev/SheerkaDebug
|
||||
export DEV_HOME
|
||||
cd $DEV_HOME
|
||||
}
|
||||
|
||||
def cdd() {
|
||||
cd $DEV_HOME
|
||||
}
|
||||
|
||||
export PATH=/home/kodjo/.local/bin:$PATH
|
||||
export WORKON_HOME=~/.virtualenvs
|
||||
export VIRTUALENVWRAPPER_PYTHON=$(which python3)
|
||||
source virtualenvwrapper.sh
|
||||
Reference in New Issue
Block a user