-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUDO_PATHを使う方式にしてみたが、sudoを sudo env PATH=hoge の エイリアスにしたところzsh-syntax-highlightingのハイライトが 意図した通りの挙動にならなかった。(詳しくは highlighting for sudo commands #107 zsh-users/zsh-syntax-highlighting#107 を参照のこと。) それに btrfs version とか--helpオプションのように、sbin系でも 一般ユーザが実行して成功して終了できる場合があるので、やっぱり sudo以外の場合でも実行できてほしい。 そんなわけで元に戻してsbin系もPATHに含めた。
- Loading branch information
Larry
committed
Nov 9, 2014
1 parent
c88f827
commit f906240
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters