20240915
This commit is contained in:
parent
082fbb76af
commit
5e6226f6d3
4 changed files with 41 additions and 4 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue