Created
February 9, 2016 11:34
-
-
Save meditans/a3a48a63d52723aee1ee to your computer and use it in GitHub Desktop.
.bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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