This commit is contained in:
fz0x1 2024-09-15 13:17:11 +02:00
parent 384fcb16cc
commit 7ebb50f9d6
No known key found for this signature in database
GPG key ID: 7FB357158731DF87
4 changed files with 41 additions and 4 deletions

View file

@ -18,8 +18,6 @@ plugins=(git python tmux genpass web-search zsh-syntax-highlighting zsh-autosugg
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
commit_date=$(date +%Y%m%d)
source $ZSH/oh-my-zsh.sh
# functions
### ARCHIVE EXTRACTION
@ -121,8 +119,8 @@ alias ehledger='nvim ~/PKM/ledger/2024.journal'
## other
alias cclear="reset && tmux clear-history && cd"
## git
alias s_diary="cd ~/PKM/diary/ && git commit -am '$commit_date' && git push origin master"
alias s_ledger="cd ~/PKM/ledger/ && git commit -am '$commit_date' && git push origin master"
alias s_diary="cd ~/PKM/diary/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master"
alias s_ledger="cd ~/PKM/ledger/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master"
# Preferred editor for local and remote sessions
export EDITOR='nvim'