1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 22:54:13 +08:00
ohmyzsh/lib/functions.zsh
2011-12-25 19:53:55 +05:30

18 lines
313 B
Bash

function zsh_stats() {
history | awk '{print $2}' | sort | uniq -c | sort -rn | head
}
function uninstall_oh_my_zsh() {
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh
}
function upgrade_oh_my_zsh() {
/usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
}
function take() {
mkdir -p $1
cd $1
}