Browse Source

aliases: type -> :?

master
Maxim Likhachev 6 years ago
parent
commit
25382a8e05
  1. 3
      etc/shell/bash/aliases

3
etc/shell/bash/aliases

@ -307,7 +307,7 @@ ttr() {
} }
#- type с подсветкой синтаксиса #- type с подсветкой синтаксиса
function type() { #noindex function get_type() { #noindex
command type "$1" | source-highlight \ command type "$1" | source-highlight \
--src-lang=sh \ --src-lang=sh \
-f esc \ -f esc \
@ -316,6 +316,7 @@ function type() { #noindex
--style-file=$SHELLRC/etc/soft/source-hl/default.style --style-file=$SHELLRC/etc/soft/source-hl/default.style
echo echo
} }
alias :?="get_type"
#- Ссылка на книгу для чтения #- Ссылка на книгу для чтения
toread() { toread() {

Loading…
Cancel
Save