mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Remove some unused aliases/functions.
This commit is contained in:
parent
677c8454e7
commit
8b78c0135f
2 changed files with 0 additions and 22 deletions
|
|
@ -15,16 +15,6 @@ alias cd....='cd ../../..'
|
||||||
alias cd.....='cd ../../../..'
|
alias cd.....='cd ../../../..'
|
||||||
alias cd/='cd /'
|
alias cd/='cd /'
|
||||||
|
|
||||||
alias 1='cd -'
|
|
||||||
alias 2='cd +2'
|
|
||||||
alias 3='cd +3'
|
|
||||||
alias 4='cd +4'
|
|
||||||
alias 5='cd +5'
|
|
||||||
alias 6='cd +6'
|
|
||||||
alias 7='cd +7'
|
|
||||||
alias 8='cd +8'
|
|
||||||
alias 9='cd +9'
|
|
||||||
|
|
||||||
cd () {
|
cd () {
|
||||||
if [[ "x$*" == "x..." ]]; then
|
if [[ "x$*" == "x..." ]]; then
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
|
||||||
|
|
@ -32,15 +32,3 @@ function uninstall_oh_my_zsh() {
|
||||||
function upgrade_oh_my_zsh() {
|
function upgrade_oh_my_zsh() {
|
||||||
/bin/sh $ZSH/tools/upgrade.sh
|
/bin/sh $ZSH/tools/upgrade.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
function tab() {
|
|
||||||
osascript 2>/dev/null <<EOF
|
|
||||||
tell application "System Events"
|
|
||||||
tell process "Terminal" to keystroke "t" using command down
|
|
||||||
end
|
|
||||||
tell application "Terminal"
|
|
||||||
activate
|
|
||||||
do script with command "cd \"$PWD\"; clear; $*" in window 1
|
|
||||||
end tell
|
|
||||||
EOF
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue