前回は関数を使ってLinuxのコマンドをWindowsのコマンドのようにして使う方法を紹介した。前回取り上げた設定($PROFILE)は ...
まずLinuxコマンドを関数でラッピングするためのスクリプトをチェックする。これまでは次のようになっていた。 この処理で変数$_nにコマンド名(ファイル名)が入ることになる。コマンド名だけを取り出す方法はほかにもあり、文字列の加工処理などを ...
On a x86_64 computer, WinPath.Updater returns %PROGRAMFILES (x86)%, this is a bug and a concern as Windows team is planning to allow the user to change the default hard disk -- as of writing this ...
PATH環境変数にパスを追加あるいは削除することができます。 変更できるのはユーザ環境変数のみです。 unite-source は winpath, winpath/add が追加されます。 unite-kind は path_fragment が追加されます。 action は edit, add, delete があります。 PATH以外の環境変数を操作する ...