Update 24.03.22

This commit is contained in:
2022-03-24 20:50:57 +01:00
parent 0f42995fd5
commit c2386880ed
13 changed files with 100 additions and 23 deletions
+6
View File
@@ -29,6 +29,12 @@ amendnow() { GIT_COMMITTER_DATE="$(date +%d/%m/%Y' '%H:%M:%S)" git commit --amen
continous-running() { while true; do inotifywait $1 -r -e close_write && ${@:2}; done }
f() { find . -name "*$1*"; }
tar-create() {tar cfv $@}
tar-list() {tar -tvf $@}
tar-extract() {tar xfv $@}
us-layout() {setxkbmap us -option caps:swapescape }
usint-layout() {setxkbmap us -variant intl -option caps:swapescape }
make_venv() {
echo $(basename $(pwd) | awk '{print "conda activate "$1}') > $(pwd | awk '{print $1"/.autoenv.zsh"}')
echo $(basename $(pwd) | awk '{print "conda deactivate "}') > $(pwd | awk '{print $1"/.autoenv_leave.zsh"}')
+2
View File
@@ -29,6 +29,8 @@ export PATH=$HOME/custom_commands:$PATH
export NB_MINIONS=4
export VAGRANT_TYPE='abacus-abahost'
export NB_HAPROXY=2
export NB_PROXMOXS=1
export VAGRANT_ABACUS_BOX="ubuntu/focal64"
export VISUAL=nvim
export EDITOR=nvim
export AUTOENV_ENV_FILENAME='.autoenv.zsh'