mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
17 lines
330 B
Bash
17 lines
330 B
Bash
#function preexec {
|
|
#emulate -L zsh
|
|
#local -a cmd; cmd=(${(z)1})
|
|
#title $cmd[1]:t "$cmd[2,-1]"
|
|
#}
|
|
|
|
function zsh_stats() {
|
|
history | awk '{print $2}' | sort | uniq -c | sort -rn | head
|
|
}
|
|
|
|
function uninstall_oh_my_zsh() {
|
|
/bin/sh $ZSH/tools/uninstall.sh
|
|
}
|
|
|
|
function upgrade_oh_my_zsh() {
|
|
/bin/sh $ZSH/tools/upgrade.sh
|
|
}
|