You are browsing a read-only backup copy of Wikitech. The live site can be found at


From Wikitech-static
Revision as of 03:37, 29 December 2021 by imported>Huji
Jump to navigation Jump to search

I am mw:User:Huji.

My favorite git command: git branch --no-merged | xargs -L 1 git branch -D

I like and use it on toolforge. I particularly like to modify its default theme (cp .oh-my-zsh/themes/robbyrussell.zsh-theme .oh-my-zsh/custom/themes) and change the prompt format to include username:

PROMPT='%(!.%{%F{yellow}%}.)$USER@%{$fg[white]%}toolforge '
PROMPT+="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'

My aliases:

alias tools="ssh"
alias remote="sshfs -o allow_other -o workaround=rename ~/remote"
alias demote="umount ~/remote"
alias demotef="fusermount -zu ~/remote"