diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2021-07-17 13:51:14 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2021-07-17 13:51:14 +0200 |
commit | 76c27e514add65a00cefce5492ea25ae3c09a013 (patch) | |
tree | 727b520f88a4412cab677c3de605722753c92c99 /.config/zsh | |
parent | added zdoom conf (diff) | |
download | dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.gz dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.bz2 dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.xz dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.tar.zst dotfiles-bsd-76c27e514add65a00cefce5492ea25ae3c09a013.zip |
fbsd 13 update
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/alias.zsh | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 8c7fd00..749645f 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -41,13 +41,13 @@ alias c='clear' \ grep='grep --color=always' \ rgrep='grep -R -n -H' \ vifm='TERM=xterm-256color vifm' \ - fetch='torify fetch' \ + fetch='fetch' \ fsl='fossil' \ diff='colordiff' \ ctags='uctags "--exclude=.ccls*"' \ - yt='straw-viewer --api=auto -C -f' \ - yta='straw-viewer --api=auto -C -n' \ - gyt='gtk-straw-viewer' \ + yt='pipe-viewer -f' \ + yta='pipe-viewer -n' \ + gyt='gtk-pipe-viewer' \ ytdl='youtube-dl --add-metadata' \ ytdlist='youtube-dl -F' \ ytdl1080="youtube-dl --add-metadata -f '[height<=1080]'" \ @@ -58,6 +58,15 @@ confgit() { git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/ $@ cd $p } +upsrc() { + doas git -C /usr/src pull --ff-only +} +upports() { + doas pkg update && + doas git -C /usr/ports pull --ff-only && + doas portmaster -a +} +alias realupdate='doas portmaster -dya --no-confirm' alias vim='nvim' \ gst='git status' \ ga='git add' \ @@ -65,9 +74,6 @@ alias vim='nvim' \ gpp='git push' \ gpo='git push origin' \ srcnt='find . -type f -name "*.c" -exec cat {} \; | sed "/^\//d" | sed "/^\*/d" | sed "/^ \*/d" | sed "/^\/\//d" | sed "/^$/d" | wc -l | tr -d " "' \ - startdocker='sudo service vboxnet onerestart && docker-machine start docker-home' \ - stopdocker='docker-machine stop docker-home' \ - envdocker='eval $(docker-machine env docker-home)' \ vimz='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \ v='nvim $(fzf --preview="head -$FZF_PREVIEW_LINES {}")' \ tohex='printf "0x%x\n"' @@ -130,7 +136,7 @@ alias bi='cd $HOME/.local/bin && ls' twi() { mpview https://twitch.tv/"$1"; } -alias nb='torify newsboat' \ +alias nb='newsboat' \ mutt='neomutt' \ sxiv='sxiv -b -a' \ pinfo='pkg info -x' \ |