forked from extern/ohmyzsh
parent
052a6dbd16
commit
2c1ff85bb2
@ -51,8 +51,7 @@ function open_command() {
|
|||||||
# 1 if it does not exist
|
# 1 if it does not exist
|
||||||
#
|
#
|
||||||
function alias_value() {
|
function alias_value() {
|
||||||
alias "$1" | sed "s/^$1='\(.*\)'$/\1/"
|
(( $+aliases[$1] )) && echo $aliases[$1]
|
||||||
test $(alias "$1")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user