potenciador de zsh con temas y plugins : https://ohmyz.sh/
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
más: https://www.howtoforge.com/tutorial/how-to-setup-zsh-and-oh-my-zsh-on-linux/
chsh -s $(which zsh)
: cambiar shell a mano si no lo hace automaticamente~/.oh-my-zsh/tools/theme_chooser.sh
source
autostash VAR=VALOR
→ setea nuevo valor, conservando el anterior y lo recupera al salir del directorio~/.local/share/autoenv_auth
apt-get install zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting # ya no: echo "source ${ZSH}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
copyfile <FILE>
a portapapelessrc
para recargar sesión → deprecated → omz reload
bat
, sustituto mejorado de cat
cat
por bat
git clone https://github.com/fdellwing/zsh-bat.git $ZSH_CUSTOM/plugins/zsh-bat
git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time
# If command execution time above min. time, plugins will output time. ZSH_COMMAND_TIME_MIN_SECONDS=3 # Message to display (set to "" for disable). ZSH_COMMAND_TIME_MSG="Execution time: %s sec" # Message color. ZSH_COMMAND_TIME_COLOR="cyan" # Exclude some commands ZSH_COMMAND_TIME_EXCLUDE=(vim mcedit)
$ZSH_COMMAND_TIME
contiene el valor de tiempo del último comandocd ~/.oh-my-zsh/custom/plugins git clone https://github.com/tom-auger/cmdtime
~/.zshrc