diff options
-rw-r--r-- | bashrc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4,6 +4,9 @@ complete -cf sudo man which # reduce history size export HISTCONTROL=ignoreboth +# vi mode +#set -o vi + # prevent clobbering of files # echo "output" >| file.txt to do it manually set -o noclobber @@ -15,6 +18,9 @@ export PATH=~/bin/:$PATH source $HOME/dotfiles/openai_key # aliases +alias gloga='git log --oneline --decorate --graph --all' +alias am='append_to_masterlist' +alias vi='vim' alias ls='ls --color=auto' alias h='hey_openai' alias hd='openai_data' @@ -116,5 +122,11 @@ hey_openai() { echo $gpt | jq -r '.choices[0].message.content' } +append_to_masterlist() { + ml=~/Documents/Notes/todo/masterlist.txt + echo "$1" >> "$ml" + cat "$ml" +} + # Colors for ls - yellow directories export LS_COLORS="$LS_COLORS:di=1;33" |