ユーザ用ツール

サイト用ツール


public:hyper

Hyper で PoserShell を使う

Hyper を公式からダウンロードし、インストールする。設定は、「Edit」→「Preferences」で開かれる「.hyper.js」を編集することで変更できる。

.hyper.js の設定例

- で始まる行は初期設定から削除し、+ で始まる行は初期設定から追加した行。

--- .hyper.js.org	2019-10-31 10:27:04.340105100 +0900
+++ .hyper.js	2019-10-31 11:05:42.015205100 +0900
@@ -9,10 +9,10 @@
     updateChannel: 'stable',
 
     // default font size in pixels for all tabs
-    fontSize: 12,
+    fontSize: 16,  // フォントサイズの変更、ご自由に
 
     // font family with optional fallbacks
-    fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
+    fontFamily: '"Ricty Diminished", Menlo, Consolas',   // フォントの変更、ご自由に
 
     // default font weight: 'normal' or 'bold'
     fontWeight: 'normal',
@@ -36,7 +36,7 @@
     cursorShape: 'BLOCK',
 
     // set to `true` (without backticks and without quotes) for blinking cursor
-    cursorBlink: false,
+    cursorBlink: true,  // カーソル、ご自由に
 
     // color of the text
     foregroundColor: '#fff',
@@ -103,14 +103,14 @@
     //
     // PowerShell on Windows
     // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
-    shell: '',
+    shell: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,
 
     // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
     // by default `['--login']` will be used
-    shellArgs: ['--login'],
+    shellArgs: [''],
 
-    // for environment variables
-    env: {},
+// for environment variables
+    env: {LANG: 'ja_JP.UTF-8'},
 
     // set to `false` for no bell
     bell: 'SOUND',
@@ -146,7 +146,10 @@
   //   `hyperpower`
   //   `@company/project`
   //   `project#1.0.1`
-  plugins: [],
+  plugins: [ // プラグイン追加 ご自由に
+            'hyper-chesterish',
+            'hypercwd'
+            ],
 
   // in development, you can create a directory under
   // `~/.hyper_plugins/local/` and include it here

※「.hyper.js」はバックアップをとることで、いつでも初期状態に戻せる。バックアップは、上記方法で「.hyper.js」を開き、別名保存で「.hyper.js.org」と保存することでできる。


Windows 10 OpenSSH に戻る

public/hyper.txt · 最終更新: 2020/04/13 10:35 by hirata.nanako

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki