Created
October 7, 2016 07:32
-
-
Save dladowitz/9dad8b828ee6eb4037530c1a42c327fd to your computer and use it in GitHub Desktop.
Sourcing shell things for Fish Shell
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
#Primary config file for Fish Shell | |
# replace things because fish are picky | |
#sighhhh... replaces eval "$(rbenv init -)" with eval "rbenv init -" > /dev/null 2>&1 | |
echo "Fishifying evals...." | |
cat ~/.shared_evals | sed -e 's/"$(/\\"/g' | sed -e 's/)"/\\" > \\/dev\\/null 2>\\&1/g' > ~/.config/fish/.fishified_shell_setup | |
echo "Getting ENV vars...." | |
cat ~/.shared_env >> ~/.config/fish/.fishified_shell_setup | |
echo "Fishifying aliases...." | |
cat ~/.shared_aliases | sed -e 's/&&/\\&/g' >> ~/.config/fish/.fishified_shell_setup | |
echo "Sourcing .fishified_shell_setup..." | |
source ~/.config/fish/.fishified_shell_setup | |
# Paths to your tackle | |
set tacklebox_path ~/.tackle ~/.tacklebox | |
# Theme | |
#set tacklebox_theme entropy | |
# Which modules would you like to load? (modules can be found in ~/.tackle/modules/*) | |
# Custom modules may be added to ~/.tacklebox/modules/ | |
# Example format: set tacklebox_modules virtualfish virtualhooks | |
# Which plugins would you like to enable? (plugins can be found in ~/.tackle/plugins/*) | |
# Custom plugins may be added to ~/.tacklebox/plugins/ | |
# Example format: set tacklebox_plugins python extract | |
# Load Tacklebox configuration | |
. ~/.tacklebox/tacklebox.fish | |
set tacklebox_path ~/.tackle | |
set tacklebox_modules virtualfish virtualhooks | |
set tacklebox_plugins extract grc pip python up | |
set tacklebox_theme entropy | |
source ~/.tacklebox/tacklebox.fish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment