瀏覽代碼

Fish installation and customization split to prevent prompt error

Jovian (Netbook) 6 年之前
父節點
當前提交
1b3c61391d
共有 2 個文件被更改,包括 8 次插入3 次删除
  1. 7 0
      Install/fish-custom
  2. 1 3
      Install/fish-install

+ 7 - 0
Install/fish-custom

@@ -0,0 +1,7 @@
+#!/usr/bin/fish
+
+# Install fish customization
+
+mkdir -p /home/jovian/.config/fish/functions
+cp ./Templates/fish_prompt.fish /home/jovian/.config/fish/functions/
+

+ 1 - 3
Install/fish-install

@@ -1,9 +1,7 @@
 #!/bin/bash
 
-# Install customized fish
+# Install fish
 
 sudo apt install fish
-mkdir -p /home/jovian/.config/fish/functions
-cp ./Templates/fish_prompt.fish /home/jovian/.config/fish/functions/
 sudo chsh -s /usr/bin/fish