Skip to content

Instantly share code, notes, and snippets.

@meditans
Created February 9, 2016 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meditans/a3a48a63d52723aee1ee to your computer and use it in GitHub Desktop.
Save meditans/a3a48a63d52723aee1ee to your computer and use it in GitHub Desktop.
.bashrc
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions
# fzf related config.
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# My defaults for FZF (mostly changed to see hidden files)
export FZF_DEFAULT_COMMAND='find -L . -type f -o -type d -o -type l | sed 1d | cut -b3- | grep -v -e .git/ -e .svn/ -e .hg/'
export FZF_CTRL_T_COMMAND=$FZF_DEFAULT_COMMAND
# Enhance the default experience
export FZF_DEFAULT_OPTS='--extended --multi --inline-info --prompt="fzf> "'
# Adding to PATH
PATH=~/.local/bin:~/.stack/programs/x86_64-linux/ghc-7.10.3/bin:$PATH
# Stack autocompletion
eval "$(stack --bash-completion-script stack)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment