From 98b8c3ce06cfc5efb6ca4c181c28f233eb742eea Mon Sep 17 00:00:00 2001 From: "chawley (chawley)" Date: Fri, 11 Oct 2019 10:09:32 -0400 Subject: [PATCH] Added powerline10k to .zshrc and vfz alias to open vim files with fzf --- .zsh_aliases | 4 ++-- .zshrc | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.zsh_aliases b/.zsh_aliases index 145fe7c..802d0e1 100644 --- a/.zsh_aliases +++ b/.zsh_aliases @@ -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`"' diff --git a/.zshrc b/.zshrc index 00e836e..696bcd1 100644 --- a/.zshrc +++ b/.zshrc @@ -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