mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 01:15:10 +01:00
fish shell config, fisherman, aliases and virtualfish
This commit is contained in:
23
.config/fish/config.fish
Normal file
23
.config/fish/config.fish
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
set fisher_home ~/.local/share/fisherman
|
||||||
|
set fisher_config ~/.config/fisherman
|
||||||
|
source $fisher_home/config.fish
|
||||||
|
|
||||||
|
# Virtualenv support with virtualfish
|
||||||
|
eval (python -m virtualfish)
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
alias gu "git pull --all"
|
||||||
|
alias gp "git push --all; git push --tags"
|
||||||
|
alias gca "git commit -a"
|
||||||
|
alias gd "git diff"
|
||||||
|
alias gst "git status"
|
||||||
|
alias gl "git log"
|
||||||
|
|
||||||
|
alias findfile 'find . | grep -v .svn | grep -v .hg | grep -v .git | grep'
|
||||||
|
alias findphp 'find . -name "*.php" | xargs grep --color=auto'
|
||||||
|
alias findjs 'find . -name "*.js" | xargs grep --color=auto'
|
||||||
|
alias findcss 'find . -name "*.css" | xargs grep --color=auto'
|
||||||
|
alias findpy 'find . -name "*.py" | xargs grep --color=auto'
|
||||||
|
alias findyaml 'find . -name "*.yaml" -o -name "*.yml" -o -name "*.eyaml" -o -name "*.eyml" | xargs grep --color=auto'
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user