Use starship instead of powerline
This commit is contained in:
parent
9d7d8a9bfd
commit
e7e85fff5a
3 changed files with 11 additions and 7 deletions
|
@ -5,12 +5,13 @@ alias aupg="sudo apt upgrade"
|
||||||
alias aurup="sudo aura -Akua"
|
alias aurup="sudo aura -Akua"
|
||||||
alias bubc="brew upgrade && brew cleanup"
|
alias bubc="brew upgrade && brew cleanup"
|
||||||
alias bubo="brew update && brew outdated"
|
alias bubo="brew update && brew outdated"
|
||||||
alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl/cert.pem"
|
alias brewcurl="/usr/local/opt/curl/bin/curl --cacert /usr/local/etc/openssl@1.1/cert.pem"
|
||||||
alias brewssl="/usr/local/opt/openssl@1.1/bin/openssl"
|
alias brewssl="/usr/local/opt/openssl@1.1/bin/openssl"
|
||||||
alias ga="git add"
|
alias ga="git add"
|
||||||
alias gf="git fetch --all; git fetch --tags"
|
alias gf="git fetch --all; git fetch --tags"
|
||||||
alias git="hub"
|
alias git="hub"
|
||||||
alias gs="git status"
|
alias gs="git status"
|
||||||
|
alias gb="git rev-parse --abbrev-ref HEAD"
|
||||||
alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'"
|
alias irc="ssh jmb -t '. ~/.zshrc; tmux attach -t irc'"
|
||||||
test $PLATFORM = 'linux' && alias ls="ls -F --color=always"
|
test $PLATFORM = 'linux' && alias ls="ls -F --color=always"
|
||||||
test $PLATFORM = 'osx' && alias ls="ls -FG"
|
test $PLATFORM = 'osx' && alias ls="ls -FG"
|
||||||
|
@ -19,3 +20,4 @@ test $PLATFORM = 'osx' && alias pipup="pip3 freeze --local | grep -v '^\-e' | cu
|
||||||
alias rtor="tmux attach -t rtor"
|
alias rtor="tmux attach -t rtor"
|
||||||
alias startace="acestreamengine --client-console --upload-limit 0 --download-limit 0"
|
alias startace="acestreamengine --client-console --upload-limit 0 --download-limit 0"
|
||||||
alias up="sudo pacman -Syu"
|
alias up="sudo pacman -Syu"
|
||||||
|
alias aws-whoami="aws sts get-caller-identity"
|
||||||
|
|
|
@ -6,6 +6,8 @@ test -e '/usr/local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline
|
||||||
&& source /usr/local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh
|
&& source /usr/local/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
test -e '/usr/local/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
test -e '/usr/local/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
||||||
&& source /usr/local/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
&& source /usr/local/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
|
test -e '/usr/local/lib/python3.8/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
||||||
|
&& source /usr/local/lib/python3.8/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
test -e '/usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
test -e '/usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
||||||
&& source /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
&& source /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
test -e '/usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
test -e '/usr/lib/python3.6/site-packages/powerline/bindings/zsh/powerline.zsh' \
|
||||||
|
|
10
zshrc.zsh
10
zshrc.zsh
|
@ -3,8 +3,10 @@
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
|
||||||
# vim binddings
|
# vim binddings
|
||||||
bindkey -v
|
bindkey -v
|
||||||
|
|
||||||
# ZSH builtin autoload
|
# ZSH builtin autoload
|
||||||
autoload -Uz compinit promptinit run-help
|
autoload -Uz compinit promptinit run-help
|
||||||
compinit
|
compinit
|
||||||
|
@ -32,9 +34,6 @@ export MANPATH="/usr/local/man:$MANPATH"
|
||||||
# Determine the running OS
|
# Determine the running OS
|
||||||
source $HOME/.zsh/platform.zsh
|
source $HOME/.zsh/platform.zsh
|
||||||
|
|
||||||
# Set a powerline prompt
|
|
||||||
source $HOME/.zsh/powerline-prompt.zsh
|
|
||||||
|
|
||||||
# ZSH syntax highlighting
|
# ZSH syntax highlighting
|
||||||
source $HOME/.zsh/zsh-syntax-highlighting.zsh
|
source $HOME/.zsh/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
|
@ -64,8 +63,6 @@ export PATH="$PATH:/usr/local/go/bin:/usr/local/opt/go/libexec/bin:$GOPATH/bin"
|
||||||
# GnuPG stuff
|
# GnuPG stuff
|
||||||
GPG_TTY=`tty`
|
GPG_TTY=`tty`
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
gpg-connect-agent /bye
|
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
||||||
|
|
||||||
# composer global
|
# composer global
|
||||||
export PATH="$PATH:$HOME/.composer/vendor/bin"
|
export PATH="$PATH:$HOME/.composer/vendor/bin"
|
||||||
|
@ -107,3 +104,6 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in
|
||||||
|
|
||||||
# Source the untracked `extra` file
|
# Source the untracked `extra` file
|
||||||
test -e $HOME/.extra && source $HOME/.extra
|
test -e $HOME/.extra && source $HOME/.extra
|
||||||
|
|
||||||
|
# Init starship prompt -- https://starship.rs
|
||||||
|
eval "$(starship init zsh)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue