this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove fish config file. Use wahoo instead

+3 -287
-36
fish/config.fish
··· 1 - set -l configdir $HOME/.config/fish 2 - set fish_greeting (fortune zen) 3 - 4 - set theme agnoster 5 - 6 - # Add local binaries to PATH 7 - set -gx PATH \ 8 - $HOME/.gobin \ 9 - $HOME/.linuxbrew/bin \ 10 - $HOME/.cabal/bin \ 11 - $HOME/.bin \ 12 - $HOME/.rbenv/bin \ 13 - $HOME/.rks/bin \ 14 - $PATH 15 - 16 - # Setup SSH agent 17 - set -gx SSH_ENV $HOME/.ssh/environment 18 - 19 - ssh_agent 20 - 21 - if [ -e "$TMUX" ] 22 - set -gx TERM xterm-256color 23 - else 24 - set -gx TERM screen-256color 25 - end 26 - 27 - # Set dircolors 28 - if [ -e "$HOME/.dir_colors" ] 29 - eval (dircolors -c "$HOME/.dir_colors") 30 - end 31 - 32 - [ -e $configdir/themes/$theme.fish ]; and source $configdir/themes/$theme.fish 33 - [ -s $HOME/.nvm-fish/nvm.fish ]; and source $HOME/.nvm-fish/nvm.fish 34 - 35 - # Init rbenv 36 - source (rbenv init - | psub)
-3
fish/functions/-.fish
··· 1 - function - 2 - cd - 3 - end
-4
fish/functions/b.fish
··· 1 - function b --wraps bundle 2 - bundle $argv 3 - end 4 -
-3
fish/functions/be.fish
··· 1 - function be 2 - bundle exec $argv 3 - end
-3
fish/functions/clip.fish
··· 1 - function clip -d 'Clip stdout to clipboard' 2 - xsel -ib 3 - end
-5
fish/functions/color-test.fish
··· 1 - function color-test 2 - for code in (seq 0 255) 3 - echo -e "\e[00;38;5;"$code"m $code: Test" 4 - end 5 - end
-3
fish/functions/compose.fish
··· 1 - function compose 2 - docker-compose $argv; 3 - end
-4
fish/functions/e.fish
··· 1 - function e -d "Run $EDITOR with given file" --wraps $EDITOR 2 - set -x VIMRUNTIME /usr/share/vim/vim74/ 3 - eval "$EDITOR '$argv'" 4 - end
-3
fish/functions/g.fish
··· 1 - function g --description 'Less typing more work!' --wraps git 2 - git $argv 3 - end
-7
fish/functions/git.fish
··· 1 - function git --description 'Git wrapper that run hub fi avaliable' 2 - if which hub ^/dev/null >/dev/null 3 - hub $argv 4 - else 5 - command git $argv 6 - end 7 - end
-3
fish/functions/grep.fish
··· 1 - function grep --description 'Search for a regexp in file(s)' 2 - command grep --color=auto $argv 3 - end
-3
fish/functions/map.fish
··· 1 - function map 2 - xargs -n1 $argv 3 - end
-11
fish/functions/mcd.fish
··· 1 - function mcd --description="Create a directory and set CWD" 2 - command mkdir $argv 3 - if test $status = 0 4 - switch $argv[(count $argv)] 5 - case '-*' 6 - case '*' 7 - cd $argv[(count $argv)] 8 - return 9 - end 10 - end 11 - end
-3
fish/functions/most-used.fish
··· 1 - function most-used --description 'Print most used commands' 2 - history | awk '{print $1}' | sort | uniq -c | sort -rn | head $argv 3 - end
-3
fish/functions/p.fish
··· 1 - function p 2 - pretty $argv; 3 - end
-3
fish/functions/paste.fish
··· 1 - function paste -d 'Print content of clipboard' 2 - xsel -ob 3 - end
-3
fish/functions/pretty.fish
··· 1 - function pretty 2 - pygmentize -f terminal -g $argv | less -RS 3 - end
-12
fish/functions/rails.fish
··· 1 - function rails 2 - if [ -d './bin' ] 3 - ./bin/rails $argv 4 - else 5 - if not bundle exec rails $argv 6 - echo 'You are not in Rails project' 7 - return 1 8 - else 9 - return $status 10 - end 11 - end 12 - end
-7
fish/functions/rake.fish
··· 1 - function rake 2 - if [ -d './bin' ] 3 - ./bin/rake $argv 4 - else 5 - bundle exec rake $argv; or command rake 6 - end 7 - end
-3
fish/functions/rawk.fish
··· 1 - function rawk 2 - ruby -ane $argv 3 - end
-3
fish/functions/rzlib-base64.fish
··· 1 - function rzlib-base64 2 - ruby -rzlib -rbase64 -e 'puts Base64.encode64(Zlib::Deflate.deflate(ARGF.read))' $argv; 3 - end
-3
fish/functions/serve.fish
··· 1 - function serve --description 'Create simple static files server' 2 - ruby -run -e httpd . -p 8000 $argv 3 - end
-23
fish/functions/ssh_agent.fish
··· 1 - function ssh_agent 2 - if [ -z "$SSH_ENV" ] 3 - echo 'You must set $SSH_ENV variable to use ssh-agent in login shell' 4 - echo 'Otherwise you can run `exec ssh-agent fish` to use it' 5 - return 1 6 - end 7 - 8 - # Load old ssh-agent instance 9 - [ -f "$SSH_ENV" ]; and source "$SSH_ENV" 10 - 11 - # Check if agent is running 12 - ssh-add -l > /dev/null ^&1 13 - if [ ! $status -eq 0 ] 14 - echo "Setting up ssh-agent" 15 - 16 - # Run ssh-agent 17 - ssh-agent -c | sed 's/^echo/#echo/' > "$SSH_ENV" 18 - source "$SSH_ENV" 19 - 20 - # Add SSH identities 21 - ssh-add 22 - end 23 - end
-3
fish/functions/stop.fish
··· 1 - function stop 2 - kill -9 (ps ax | grep $argv[1] | grep -v 'grep' | awk '{print $1}') 3 - end
-4
fish/functions/work.fish
··· 1 - function work 2 - set project (basename (git rev-parse --show-toplevel)) 3 - time -f '%E' -- tmux new -s $project ; or time -f '%E' -- tmux attach -t $project 4 - end
-129
fish/themes/agnoster.fish
··· 1 - set SEGMENT_SEPARATOR '' 2 - set SEGMENT_BG 3 - set RSTATUS 4 - 5 - set SEGMENT_LSEPARATOR '' 6 - 7 - function prompt_segment --desc 'Create prompt segment' 8 - set -l bg $argv[1] 9 - set -l fg $argv[2] 10 - [ (count $argv) -gt 2 ]; and set -l content $argv[3..-1] 11 - 12 - set_color -b $bg 13 - 14 - if begin; [ -n "$SEGMENT_BG" ]; and [ "$SEGMENT_BG" != "$bg" ]; end 15 - color_echo $SEGMENT_BG $SEGMENT_SEPARATOR 16 - end 17 - 18 - if [ -n "$content" ] 19 - set SEGMENT_BG $bg 20 - set_color -b $bg $fg 21 - echo -n " $content" 22 - end 23 - end 24 - 25 - function color_echo 26 - set_color $argv[1] 27 - echo -n $argv[2] 28 - end 29 - 30 - function prompt_context 31 - set -l user (whoami) 32 - set -l host (hostname) 33 - 34 - if begin; [ "$user" != "$DEFAULT_USER" ]; or [ -n "$SSH_CLIENT" ]; end 35 - prompt_segment black normal "$user@$host " 36 - end 37 - end 38 - 39 - function parse_git_dirty 40 - set -l submodule_syntax 41 - set submodule_syntax "--ignore-submodules=dirty" 42 - set git_dirty (command git status -s $submodule_syntax 2> /dev/null) 43 - if [ -n "$git_dirty" ] 44 - echo -n "±" 45 - else 46 - echo -n "" 47 - end 48 - end 49 - 50 - # Status: 51 - # - was there an error 52 - # - am I root 53 - # - are there background jobs? 54 - function prompt_status 55 - set -l icons 56 - if [ "$RSTATUS" -ne 0 ] 57 - set icons $icons (set_color red -b black; echo -n "✘ ") 58 - end 59 - if [ (id -u $USER) -eq 0 ] 60 - set icons $icons (set_color red -b black; echo -n "⚡ ") 61 - end 62 - if [ (jobs -l | wc -l) -ne 0 ] 63 - set icons $icons (set_color red -b black; echo -n "⚙ ") 64 - end 65 - 66 - prompt_segment black normal "$icons" 67 - end 68 - 69 - function prompt_git -d "Display the actual git state" 70 - set -l ref 71 - set -l dirty 72 - if command git rev-parse --is-inside-work-tree >/dev/null ^&1 73 - set dirty (parse_git_dirty) 74 - set ref (command git symbolic-ref HEAD ^/dev/null) 75 - if [ $status -gt 0 ] 76 - set -l branch (command git show-ref --head -s --abbrev |head -n1 ^/dev/null) 77 - set ref "➦ $branch " 78 - end 79 - set branch_symbol \uE0A0 80 - set -l branch (echo $ref | sed "s-refs/heads/-$branch_symbol -") 81 - if [ "$dirty" != "" ] 82 - prompt_segment yellow black "$branch$dirty " 83 - else 84 - prompt_segment green black "$branch$dirty " 85 - end 86 - end 87 - end 88 - 89 - # Dir: current working directory 90 - function prompt_dir 91 - set -l dir (prompt_pwd) 92 - prompt_segment blue black "$dir " 93 - end 94 - 95 - function prompt_finish 96 - prompt_segment normal normal 97 - echo -n ' ' 98 - set SEGMENT_BG 99 - end 100 - 101 - function fish_prompt 102 - set RSTATUS $status 103 - prompt_status 104 - prompt_context 105 - prompt_dir 106 - prompt_git 107 - prompt_finish 108 - end 109 - 110 - function fish_right_prompt 111 - if [ -n "$fish_bind_mode" ] 112 - switch "$fish_bind_mode" 113 - case default 114 - set color white 115 - case insert 116 - set color yellow 117 - case visual 118 - set color magenta 119 - case '*' 120 - set color black 121 - end 122 - 123 - set_color normal 124 - color_echo "$color" "$SEGMENT_LSEPARATOR" 125 - set_color -b $color 126 - color_echo black " $fish_bind_mode " 127 - set_color normal 128 - end 129 - end
+3
packages.json
··· 17 17 "fish": { "type": "git", "url": "https://github.com/dag/vim-fish.git" }, 18 18 "fugitive": { "type": "git", "url": "https://github.com/tpope/vim-fugitive.git" }, 19 19 "gitgutter": { "type": "git", "url": "https://github.com/airblade/vim-gitgutter.git" }, 20 + "gitv": { "type": "git", "url": "https://github.com/gregsexton/gitv.git" }, 21 + "indent-guides": { "type": "git", "url": "https://github.com/nathanaelkane/vim-indent-guides.git" }, 20 22 "latex": { "type": "git", "url": "https://github.com/lervag/vim-latex.git" }, 21 23 "multiple-cursors": { "type": "git", "url": "https://github.com/terryma/vim-multiple-cursors.git" }, 22 24 "numbers": { "type": "git", "url": "https://github.com/myusuf3/numbers.vim.git" }, ··· 27 29 "rhubarb": { "type": "git", "url": "https://github.com/tpope/vim-rhubarb.git" }, 28 30 "rust": { "type": "git", "url": "https://github.com/rust-lang/rust.vim.git" }, 29 31 "sensible": { "type": "git", "url": "https://github.com/tpope/vim-sensible.git" }, 32 + "slim": { "type": "git", "url": "https://github.com/slim-template/vim-slim.git" }, 30 33 "surround": { "type": "git", "url": "https://github.com/tpope/vim-surround.git" }, 31 34 "supertab": { "type": "git", "url": "https://github.com/ervandew/supertab.git" }, 32 35 "swapit": { "type": "git", "url": "https://github.com/mjbrownie/swapit.git" },