Added powerline10k to .zshrc and vfz alias to open vim files with fzf

This commit is contained in:
2019-10-11 10:09:32 -04:00
parent b33b694116
commit 98b8c3ce06
2 changed files with 7 additions and 3 deletions

View File

@@ -71,6 +71,6 @@ alias git-st='git status'
alias git-lg='git log --color --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit'
alias git-remotes='git remote -v update'
# Makes work easier
alias rdp='/opt/freerdp-nightly/bin/xfreerdp /u:chawley2 /size:90% '
# Edit files with vim/fzf
alias vfz='vim "`fzf`"'

6
.zshrc
View File

@@ -9,7 +9,8 @@ export ZSH=$HOME/.oh-my-zsh
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# ZSH_THEME="robbyrussell"
# ZSH_THEME="avit"
ZSH_THEME="bureau"
# ZSH_THEME="bureau"
ZSH_THEME=powerlevel10k/powerlevel10k
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
@@ -130,3 +131,6 @@ export FZF_DEFAULT_COMMAND='find .'
# ---------------------------------------------------------------------------------------------------------------------
# ==> set PATH so it includes user's private ~/bin if it exists
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ -f ~/.p10k.zsh ]] && source ~/.p10k.zsh