Skip to content

Commit

Permalink
Further cleanup of fish
Browse files Browse the repository at this point in the history
  • Loading branch information
wunki committed Nov 8, 2015
1 parent b7a9a27 commit bddb576
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
16 changes: 6 additions & 10 deletions fish/config.fish
@@ -1,10 +1,15 @@
# functions who work as aliases (quicker)
## fish settings
set -x fish_greeting ""

# aliases
function t1; tree --dirsfirst -ChFL 1; end
function t2; tree --dirsfirst -ChFL 2; end
function t3; tree --dirsfirst -ChFL 3; end

# mac shortcuts
function bup; brew update; and brew upgrade --all; and brew cleanup; end
function run-rethinkdb; launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rethinkdb.plist; end
function run-redis; redis-server /usr/local/etc/redis.conf; end

# freebsd shortcuts
function ea; sudo ezjail-admin $argv; end
Expand Down Expand Up @@ -43,12 +48,6 @@ function gs; git status --ignore-submodules=dirty; end
function gp; git push origin master; end
function gf; git pull origin master; end

# redis on the mac
function run-redis; redis-server /usr/local/etc/redis.conf; end

# rethinkdb
function run-rethinkdb; launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rethinkdb.plist; end

# rust
set -x LD_LIBRARY_PATH {LD_LIBRARY_PATH}:/usr/local/lib
set -x RUST_SRC_PATH {$HOME}/rust/rust/src
Expand All @@ -57,9 +56,6 @@ set -x RUST_SRC_PATH {$HOME}/rust/rust/src
function rmpyc; find . -name '*.pyc' | xargs rm; end
function ghp; python -m grip; end # preview README files

# fish settings
set -x fish_greeting ""

# environment
set -x LANG 'en_US.UTF-8'
set -x LC_ALL 'en_US.UTF-8'
Expand Down
2 changes: 0 additions & 2 deletions fish/functions/fish_user_key_bindings.fish

This file was deleted.

1 change: 0 additions & 1 deletion fish/functions/fzf_key_bindings.fish

This file was deleted.

0 comments on commit bddb576

Please sign in to comment.