diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-29 11:46:22 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-07-29 11:47:13 +0200 |
commit | 1460eae0d754818dffdaadb744571cbfce1a8378 (patch) | |
tree | 1e90bb1d024fde7fe38bf20bfe3b61fb4c60824c | |
parent | ff7417c9ce835265b889319a8e75ee2ae38eab1d (diff) |
use script instead of alias
-rwxr-xr-x | bin/common/cx | 2 | ||||
-rw-r--r-- | config/essentials/zsh/aliases.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/common/cx b/bin/common/cx new file mode 100755 index 0000000..88fb817 --- /dev/null +++ b/bin/common/cx @@ -0,0 +1,2 @@ +#!/bin/sh +[ -x "$1" ] && chmod -x "$1" || chmod +x "$1" diff --git a/config/essentials/zsh/aliases.sh b/config/essentials/zsh/aliases.sh index 1d742a9..53c8da0 100644 --- a/config/essentials/zsh/aliases.sh +++ b/config/essentials/zsh/aliases.sh @@ -167,7 +167,6 @@ alias penv='python3 -m venv env' alias phttp='python3 -m http.server' alias pipreq='pip install -r requirements.txt' -alias cx='chmod +x' alias ch='chown ${USER}:${USER} -R' alias kll='killall' alias pi='ping archlinux.org -c4' |