Files
dotfiles/fish/config.fish
Tim McCarthy 3c0d350c26 Update configs
- Fish gets autojump
- Spacemacs gets
  - Autocomplete
  - C#
  - Default shell is fish
  - Themes megapack
  - Updated spacemacs config for 0.104
  - C-;/C-: leader keys
  - Slightly larger default window size
  - - counts as part of a word as well for vim syntax table.
2015-10-15 12:45:33 -07:00

44 lines
675 B
Fish

# ============
# Basics, etc…
# ============
# Default browser
set -g -x EDITOR "emacsclient"
# Add ~/bin to PATH
set -g -x PATH ~/bin $PATH
# Machine-local config
if test -e ~/.config/fish/local.fish
source ~/.config/fish/local.fish
end
# ========
# Autojump
# ========
[ -f /usr/local/share/autojump/autojump.fish ]; and . /usr/local/share/autojump/autojump.fish
# =========
# Functions
# =========
function ec
emacsclient -n $argv
end
# IP addresses
function ip
curl icanhazip.com
end
# edit config.fish (this file)
function cf
ec ~/.config/fish/config.fish
end
# reload your Fish config
function src
source ~/.config/fish/config.fish; and clear
end