diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index b99a91f..651a169 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -110,7 +110,10 @@ alias lls="ls -l | sed 's/--x/1/g; s/-w-/2/g; s/-wx/3/g; s/r--/4/g; s/r-x/5/g; s/rw-/6/g; s/rwx/7/g; s/---/0/g'" #- История bash -h() { [ -z "$1" ] && history || history | grep "$1"; } #noindex +h() { #noindex + query=$* + [ -z "$1" ] && history || history | grep "${query// /.*}"; +} #Переназначение функции, вызываемой неизвестной командой command_not_found_handle() { #noindex