Jelajahi Sumber

Take care of 'GNU/kFreeBSD' in os specific configuration

Emmanuel Bouthenot 15 tahun lalu
induk
melakukan
fd0c77477d
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      .zsh.d/zshrc

+ 2 - 0
.zsh.d/zshrc

@@ -28,6 +28,8 @@ done
 
 # per OS resource file
 local os=$(uname)
+# special case
+[ "$os" = "GNU/kFreeBSD" ] && os="Linux"
 [ -r "$DOTZSHDIR/os.d/${os}.zsh" ] && source "$DOTZSHDIR/os.d/${os}.zsh"
 
 # sourcing config files