summaryrefslogtreecommitdiffstats
path: root/ksh/conf/alias.ksh
diff options
context:
space:
mode:
Diffstat (limited to 'ksh/conf/alias.ksh')
-rw-r--r--ksh/conf/alias.ksh20
1 files changed, 13 insertions, 7 deletions
diff --git a/ksh/conf/alias.ksh b/ksh/conf/alias.ksh
index daf4ab6..3c04d39 100644
--- a/ksh/conf/alias.ksh
+++ b/ksh/conf/alias.ksh
@@ -1,5 +1,5 @@
if command -v colorls > /dev/null ; then
- LS='colorls'
+ LS='colorls -G'
else
LS='ls'
fi
@@ -21,21 +21,24 @@ alias \
mv='mv -iv' \
mkdir='mkdir -p' \
cp='cp -Raiv' \
- rm='rm -iv' \
+ rm='rm -riv' \
mount='doas mount -v' \
umount='doas umount -v'
# Programas con opciones por defecto
alias \
+ l='less' \
+ c='cd' \
v="$EDITOR" \
m='neomutt' \
+ d='dir' \
+ da='dir -a' \
ls="$LS -FAGt" \
ll='ls -cohltFAG' \
df='df -hT --total' \
- du='du -sh' \
+ du='du -ch' \
xi="doas pkg_add" \
- vv='nvi' \
- se="doas nvim" \
+ se="doas nvi" \
ytv='pipe-viewer' \
w3m='w3m -no-cookie -v' \
irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \
@@ -44,11 +47,14 @@ alias \
pwn='chmod +x' \
dfc='dfc -dmT' \
rat='tar -xf' \
+ wifi='doas sh /etc/netstart' \
ping='ping -c 5' \
free='free -ht' \
wget='wget --no-hsts' \
dbup='doas /usr/libexec/locate.updatedb' \
+ tree='colortree -FANh' \
+ dirdl='wget -r --no-parent -l1 -e robots=off --reject="index.html" --no-hsts' \
tplano='mosh tplano' \
reboot='doas shutdown -r now' \
- shutdown='doas shutdown -p now' \
- dirdl='wget -r --no-parent -l1 -e robots=off --reject="index.html" --no-hsts'
+ replace='doas pkg_add -r' \
+ shutdown='doas shutdown -p now'
Un proyecto texto-plano.xyz