1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-10-16 11:40:46 +00:00

common-aliases: Drop domain names from browser alias list

This commit is contained in:
Alexander Schlarb 2018-08-09 20:50:27 +02:00
parent 3cb5a9097b
commit 5889f4cfc9

View file

@ -54,7 +54,7 @@ autoload -Uz is-at-least
if is-at-least 4.2.0; then if is-at-least 4.2.0; then
# open browser on urls # open browser on urls
if [[ -n "$BROWSER" ]]; then if [[ -n "$BROWSER" ]]; then
_browser_fts=(htm html xhtml de org net com at cx nl se dk) _browser_fts=(htm html xhtml)
for ft in $_browser_fts; do alias -s $ft='$BROWSER'; done for ft in $_browser_fts; do alias -s $ft='$BROWSER'; done
fi fi