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

Loading…
Cancel
Save