diff options
Diffstat (limited to '.config/fish')
-rw-r--r-- | .config/fish/alias.fish | 60 | ||||
-rw-r--r-- | .config/fish/config.fish | 33 |
2 files changed, 0 insertions, 93 deletions
diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish deleted file mode 100644 index 2415674..0000000 --- a/.config/fish/alias.fish +++ /dev/null @@ -1,60 +0,0 @@ -alias ls='exa -l' -alias c='clear' -alias less='less --tabs 4' -alias bc='clear; bc -l' -alias mkf='gmake fclean' -alias mkc='gmake clean' -alias mk='gmake -j5' -alias web='w3m https://duckduckgo.com/' -alias mpv='mpv --audio-channels=stereo' -alias cp='cp -iv' -alias mv='mv -iv' -alias rm='rm -v' -alias ln='ln -v' -alias df='df -h' -alias du='du -h' -alias mkdir='mkdir -v' -alias rmdir='rmdir -v' -alias chmod='chmod -v' -alias chown='chown -v' -alias grep='grep --color' -alias diff='colordiff' -alias tree='tree -C' -alias yt='straw-viewer --api=auto' -alias gyt='gtk-straw-viewer' -alias dgit="git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME" -alias vim='nvim' -alias gst='git status' -alias ga='git add' -alias gco='git commit -m' -alias gpp='git push' -alias gpo='git push origin' -alias startdocker='sudo service vboxnet restart && docker-machine start docker-home' -alias stopdocker='docker-machine stop docker-home' -alias envdocker='eval `docker-machine env docker-home`' -alias vimz='nvim (fzf)' -alias v='nvim (fzf)' -alias pa="cd $HOME/.local/packs && ls" -alias co="cd $XDG_CONFIG_HOME/ && ls" -alias bi="cd $HOME/.local/bin && ls" -function twi - mpv --really-quiet https://twitch.tv/$argv; -end -alias nb='newsboat' -alias mutt='neomutt' -alias nmt='neomutt' -alias sxiv='sxiv -b' -alias pinfo='pkg info -x' -function search - make -C /usr/ports search name=$argv | grep 'Path:'; -end -alias watch='cmdwatch' -alias tsd='transmission-daemon' -alias tsm='transmission-remote' -alias rsox='sox -t oss default' -alias calcurse="calcurse -C $XDG_CONFIG_HOME/calcurse -D $XDG_DATA_HOME/calcurse" -alias abook="abook -C $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook" -alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf" -alias svn="svn --config-dir $XDG_CONFIG_HOME/subversion" -alias gpg2="gpg2 --homedir $XDG_DATA_HOME/gnupg" -alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config" diff --git a/.config/fish/config.fish b/.config/fish/config.fish deleted file mode 100644 index dc8bd14..0000000 --- a/.config/fish/config.fish +++ /dev/null @@ -1,33 +0,0 @@ -# config.fish -# _ -# | | ___ ___ -# _ | |/ _ \ / _ \ -# | |_| | (_) | __/ -# \___/ \___/ \___| - -source $HOME/.config/env - -export LESS_TERMCAP_mb=(printf '\e[1;31m') -export LESS_TERMCAP_md=(printf '\e[1;31m') -export LESS_TERMCAP_me=(printf '\e[0m') -export LESS_TERMCAP_so=(printf '\e[1;33;40m') -export LESS_TERMCAP_se=(printf '\e[0m') -export LESS_TERMCAP_us=(printf '\e[0;4;35m') -export LESS_TERMCAP_ue=(printf '\e[0m') - -source $HOME/.config/fish/alias.fish - -fish_vi_key_bindings -set fish_greeting -function fish_mode_prompt -end - -function fish_prompt - printf "\033[1;31m%s \033[1;34m%s\033[1;31m> \033[0m" (prompt_hostname) (prompt_pwd) -end -function fish_right_prompt - set -l last_pipestatus $pipestatus - set -l last_status $status - set -l prompt_status (__fish_print_pipestatus " " "" "|" (set_color $fish_color_status) (set_color --bold $fish_color_status) $last_pipestatus) - printf "%s \033[1;31m%s\033[0m" (fish_vcs_prompt) $prompt_status -end |