Skip to content

Commit

Permalink
[zsh] Add forgit git fzf helper
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelRobitaille committed Oct 10, 2022
1 parent ebafa22 commit 3ba98dd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions forgit
Submodule forgit added at 3f5093
11 changes: 10 additions & 1 deletion zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@

# Plugins
source ~/.zplug/init.zsh

# A utility tool powered by fzf for using git interactively.
zplug 'wfxr/forgit'

zplug load --verbose

export ZSH=$HOME/.oh-my-zsh
export FPATH=/usr/share/zsh/site-functions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle:$FPATH
fpath+=$HOME/.zsh/pure

ZSH_THEME=""

plugins=(git pass)
plugins=(pass)

source "$ZSH/oh-my-zsh.sh"
source "$HOME/.zsh/async/async.zsh"
Expand Down
7 changes: 7 additions & 0 deletions zsh/custom/exports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,10 @@ export MANPAGER='nvim +Man!'
#

export ANDROID_HOME=~/.android-sdk


#
# Forgit
#

export PATH="$PATH:$FORGIT_INSTALL_DIR/bin"

0 comments on commit 3ba98dd

Please sign in to comment.