Browse Source

bash: aliases: ++mount, mutt, path

Maxim Likhachev 5 years ago
parent
commit
f55b5535af
  1. 10
      etc/shell/bash/aliases

10
etc/shell/bash/aliases

@ -55,7 +55,7 @@ alias vi="nvim -u NONE" #noindex @@ -55,7 +55,7 @@ alias vi="nvim -u NONE" #noindex
alias vim="nvim -i $SHELLRC/var/vim/nviminfo -p $*" #noindex
alias vimdiff="nvim -i $SHELLRC/var/vim/nviminfo -d $*" #noindex
alias lsi="TERM=xterm-256color lsi" #noindex
alias mutt="TERM=xterm-256color neomutt -F $SHELLRC/etc/mail/mutt/muttrc && echo "0" > $MD/new" #noindex
alias mutt="TERM=xterm-256color neomutt -y -F $SHELLRC/etc/mail/mutt/muttrc && echo "0" > $MD/new" #noindex
alias screen="TERM=rxvt-256color screen" #noindex
alias figlet="figlet -f $SHELLRC/etc/soft/figlet/fonts/standard.flf" #noindex
alias zathura="nh zathura" #noindex
@ -170,9 +170,7 @@ toph() { @@ -170,9 +170,7 @@ toph() {
}
#- Форматированный вывод PATH
path() {
echo $PATH | tr ':' '\n' | nl
}
alias path='echo -e ${PATH//:/\\n} | nl'
#- Взятие строк в кавычки
quote() {
@ -350,6 +348,10 @@ apply() { @@ -350,6 +348,10 @@ apply() {
#{{{ \033[00m\n\b------<Администрирование>\n
################################################################################
function mount() { #noindex
command mount "$@" | column -t
}
#- Копирование файла $1 в $SHELLRC/bin/$2
cpbin() {
cp -i $1 $SHELLRC/bin/$2/

Loading…
Cancel
Save