mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
lib: prune some things to load faster
This commit is contained in:
parent
f2dad51a2c
commit
3e49476736
5 changed files with 8 additions and 26 deletions
|
|
@ -1,9 +0,0 @@
|
|||
# Push and pop directories on directory stack
|
||||
alias pu='pushd'
|
||||
alias po='popd'
|
||||
|
||||
# Super user
|
||||
alias _='sudo'
|
||||
|
||||
# Show history
|
||||
alias history='fc -l 1'
|
||||
|
|
@ -4,7 +4,3 @@ alias man='nocorrect man'
|
|||
alias mv='nocorrect mv'
|
||||
alias mysql='nocorrect mysql'
|
||||
alias mkdir='nocorrect mkdir'
|
||||
alias gist='nocorrect gist'
|
||||
alias heroku='nocorrect heroku'
|
||||
alias ebuild='nocorrect ebuild'
|
||||
alias hpodder='nocorrect hpodder'
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
#
|
||||
# Color grep results
|
||||
# Examples: http://rubyurl.com/ZXv
|
||||
#
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
export GREP_COLOR='1;32'
|
||||
|
|
@ -37,3 +37,11 @@ alias serve_this='python -m SimpleHTTPServer'
|
|||
|
||||
## Highlight-aware less command
|
||||
alias hl='less -R'
|
||||
|
||||
## Show history
|
||||
alias history='fc -l 1'
|
||||
|
||||
## Color grep results
|
||||
## Examples: http://rubyurl.com/ZXv
|
||||
export GREP_OPTIONS='--color=auto'
|
||||
export GREP_COLOR='1;32'
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
# get the name of the branch we are on
|
||||
function rvm_prompt_info() {
|
||||
ruby_version=$(~/.rvm/bin/rvm-prompt 2> /dev/null) || return
|
||||
echo "($ruby_version)"
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue