Skip to content

Instantly share code, notes, and snippets.

@cfsanderson-fulcrum
Created March 16, 2022 17:45
Show Gist options
  • Save cfsanderson-fulcrum/24a7c4edd2fec2d673c77f53ced4ffce to your computer and use it in GitHub Desktop.
Save cfsanderson-fulcrum/24a7c4edd2fec2d673c77f53ced4ffce to your computer and use it in GitHub Desktop.
Zsh config
#===============================================================================
# __
# ____ _____/ /_ __________
# /_ / / ___/ __ \/ ___/ ___/
# / /_(__ ) / / / / / /__
# /___/____/_/ /_/_/ \___/
#
#===============================================================================
# @cfsanderson
# Aliases moved to ~/.oh-my-zsh/custom/aliases.zsh and accessible with "confalias" alias.
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
autoload -Uz compinit
compinit
fi
# Enable Ctrl-x-e to edit command line
autoload -U edit-command-line
# Vi style:
zle -N edit-command-line
bindkey -M vicmd v edit-command-line
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
HIST_STAMPS="yyyy-mm-dd"
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=$HOME/.cache/zsh/history
ENABLE_CORRECTION="false"
COMPLETION_WAITING_DOTS="true"
plugins=(
asdf
git
npm
macos
vi-mode
web-search
zsh-completions
zsh-syntax-highlighting
)
# Change the title of tabs in Wezterm
function rename_wezterm_title {
echo "\x1b]1337;SetUserVar=panetitle=$(echo -n $1 | base64)\x07"
}
# source $HOME/.bash_profile
source $ZSH/oh-my-zsh.sh
export SSH_KEY_PATH="~/.ssh/id_rsa"
export PATH="/usr/local/sbin:$PATH"
neofetch --ascii $HOME/.config/neofetch/lord-vader.txt
#neofetch
. $HOME/.asdf/asdf.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment