Skip to content

Instantly share code, notes, and snippets.

@p10q
Created December 27, 2023 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p10q/500583bc598e25de0f2beb805d6f2482 to your computer and use it in GitHub Desktop.
Save p10q/500583bc598e25de0f2beb805d6f2482 to your computer and use it in GitHub Desktop.
.zshrc public
alias ls='ls -G'
alias l='CLICOLOR_FORCE=1 ls -altrh'
alias gloa='git log --all --oneline --graph --decorate'
alias gs='git status'
# history
if [ -z $HISTFILE ]; then
HISTFILE=$HOME/.zsh_history
fi
HISTSIZE=100000
SAVEHIST=100000
setopt appendhistory #Append history to the history file (no overwriting)
setopt sharehistory #Share history across terminals
setopt incappendhistory
PROMPT='%n@%m %* %1~ %# '
set -o vi
bindkey -v # instead of set -o vi
bindkey fd vi-cmd-mode
alias h1='history 1'
alias vi='nvim'
export VISUAL="nvim"
export EDITOR="$VISUAL"
export PATH=$PATH:/Users/harathom/local-apps/nvim-macos/bin
alias claude='AWS_PROFILE=bedrock llm -o max_tokens_to_sample 99000'
alias pc='pbpaste | AWS_PROFILE=bedrock llm -o max_tokens_to_sample 99000'
alias oai='llm -m gpt-4'
alias po='pbpaste | llm -m gpt-4'
alias pcc='pbpaste | AWS_PROFILE=bedrock llm -m anthropic.claude-instant-v1 -o max_tokens_to_sample 99000'
source ~/.secure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment