blob: daf4ab672d5193dded766543b3639f720e2e1ba5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
if command -v colorls > /dev/null ; then
LS='colorls'
else
LS='ls'
fi
# Tmux
alias tmux='tmux -2'
if [[ -n $TMUX ]]; then
alias txa='tmux switch-client -t'
else
alias txa='tmux attach-session -t'
fi
alias \
txn='tmux new-session -s' \
txk='tmux kill-session -t' \
txz='tmux kill-server'
# MAXIMUM VERBOSITY YIELDS MAXIMUM RESULTS
alias \
mv='mv -iv' \
mkdir='mkdir -p' \
cp='cp -Raiv' \
rm='rm -iv' \
mount='doas mount -v' \
umount='doas umount -v'
# Programas con opciones por defecto
alias \
v="$EDITOR" \
m='neomutt' \
ls="$LS -FAGt" \
ll='ls -cohltFAG' \
df='df -hT --total' \
du='du -sh' \
xi="doas pkg_add" \
vv='nvi' \
se="doas nvim" \
ytv='pipe-viewer' \
w3m='w3m -no-cookie -v' \
irc='irssi --config="$XDG_CONFIG_HOME"/irssi/config --home="$XDG_DATA_HOME"/irssi' \
del='doas pkg_delete -cmvvv' \
upd='doas pkg_add -Uu' \
pwn='chmod +x' \
dfc='dfc -dmT' \
rat='tar -xf' \
ping='ping -c 5' \
free='free -ht' \
wget='wget --no-hsts' \
dbup='doas /usr/libexec/locate.updatedb' \
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'
|