Created
December 18, 2020 13:49
-
-
Save syrm/e8892e2a3300b88398b08d3edf4c36ac to your computer and use it in GitHub Desktop.
Zsh config with starship
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export HISTFILE=~/.zsh_history | |
export HISTFILESIZE=1000000000 | |
export HISTSIZE=1000000000 | |
export HISTTIMEFORMAT="[%F %T] " | |
setopt INC_APPEND_HISTORY | |
setopt EXTENDED_HISTORY | |
setopt HIST_FIND_NO_DUPS | |
bindkey '^R' history-incremental-search-backward | |
source /etc/profile.d/autojump.zsh | |
eval "$(starship init zsh)" | |
function set_win_title(){ | |
echo -ne "\033]0; $(basename $PWD) \007" | |
} | |
precmd_functions+=(set_win_title) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment