Guest User

Untitled

a guest
Dec 18th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. set fish_function_path $fish_function_path "/home/glebihan/.local/lib/python2.7/site-packages/powerline/bindings/fish"
  2. powerline-setup
  3. . /home/glebihan/.config/fish/z.fish
  4. set -U LD_LIBRARY_PATH $LD_LIBRARY_PATH /home/glebihan/Téléchargements/playerctl/playerctl/.libs
  5. alias v2_2 "cd /home/glebihan/wab/core/wabrestapi/src/common/api/v2_2"
  6. alias aclengine "cd /home/glebihan/wab/wabengine/src/server/engine/acl"
  7. alias OBJModel "cd /home/glebihan/wab/backend/src/SAModel/OBJModel"
  8. alias ctrl "cd /home/glebihan/wab/wabengine/src/server/controller"
  9. alias git-reflog "git reflog --format='%C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)'"
  10. alias vi "vim"
  11. alias volup "amixer -q set Master 2dB+ unmute"
  12. alias voldown "amixer -q set Master 2dB- unmute"
  13. alias v "f -e vim" # quick opening files with vim
  14. alias m "f -e mplayer" # quick opening files with mplayer
  15. alias o "a -e xdg-open" # quick opening files with xdg-open
  16. alias cr "chromium-browser --start-maximized & disown & exit"
  17. alias mount_public "mount.cifs //adshare.corp.wallix.com/Public /mnt/public-new cifs -o _netdev,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=1000,gid=1000,users,rw,credentials=/etc/gle_creds"
  18. alias ls "ls -alth"
  19. alias update_cscope "cscope -Rbq ~/wab"
  20. alias update_ctags "ctags -R -o newtags ~/wab"
  21.  
  22. function bind_bang
  23. switch (commandline -t)[-1]
  24. case "!"
  25. commandline -t $history[1]; commandline -f repaint
  26. case "*"
  27. commandline -i !
  28. end
  29. end
  30.  
  31. function bind_dollar
  32. switch (commandline -t)[-1]
  33. case "!"
  34. commandline -t ""
  35. commandline -f history-token-search-backward
  36. case "*"
  37. commandline -i '$'
  38. end
  39. end
  40.  
  41. function fish_user_key_bindings
  42. bind ! bind_bang
  43. bind '$' bind_dollar
  44. end
Add Comment
Please, Sign In to add comment