alias tree='tree -CF --du -h' alias cbonsai='cbonsai --live --infinite --time 0.3 --base 2 --wait 2 --leaf "&,#,$,*,@"' alias tmux_main='tmux new-session -s main' alias tmux_secondary_win='tmux new-session -t main -s secondary' # enable color support of ls and also add handy aliases alias ls='ls --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias d='dirs -v' # shfmt needs to ignore this because it is a zsh specific syntax # shfmt:ignore:start for index ({1..9}) alias "c$index"="cd +${index}"; unset index # shfmt:ignore:end _get_aws_config_path() { local config_path="${AWS_CONFIG_FILE:-$HOME/.aws/config}" echo "$config_path" } # This label will be set in a comment in the ~/.aws/config file right before # the definition of the profile we want to use as the default. # The format will be `#[