summaryrefslogtreecommitdiff
path: root/lib/functions.zsh
blob: ef7cc6383038b7e6f9a02c857f13ea498ba5a8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}

function take() {
  mkdir -p $1
  cd $1
}