mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
More adjustments to zsh setup
This commit is contained in:
parent
423eac2431
commit
9029adb9c6
3 changed files with 5 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ alias please='sudo'
|
|||
|
||||
# Show history
|
||||
# alias history='fc -l 1'
|
||||
alias his = 'fc -l 1'
|
||||
|
||||
# List direcory contents
|
||||
alias lsa='ls -lah'
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
if [ -z $HISTFILE ]; then
|
||||
HISTFILE=$HOME/.zsh_history
|
||||
fi
|
||||
HISTSIZE=100000
|
||||
SAVEHIST=100000
|
||||
HISTSIZE=200000
|
||||
SAVEHIST=2000000
|
||||
|
||||
setopt append_history
|
||||
setopt extended_history
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
alias h='history'
|
||||
alias h='his'
|
||||
|
||||
function hs
|
||||
{
|
||||
history | grep $*
|
||||
h | grep $*
|
||||
}
|
||||
|
||||
alias hsi='hs -i'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue