Quellcode durchsuchen

add more envs and alias

Casey DeLorme vor 1 Jahr
Ursprung
Commit
e6d90d350c
2 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 1 0
      install/etc/skel/.bash_profile
  2. 5 0
      install/etc/skel/.bashrc

+ 1 - 0
install/etc/skel/.bash_profile

@@ -2,6 +2,7 @@
 
 # add local bin to path
 export PATH=/usr/local/bin:$PATH
+export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH"
 
 # explicitly set and append to XDG_DATA_DIRS
 [ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/share:/usr/local/share"

+ 5 - 0
install/etc/skel/.bashrc

@@ -6,6 +6,11 @@ alias grep='grep --color=auto'
 alias ..='cd ..'
 alias ...='cd ../..'
 alias sshfs='sshfs -o cache=yes,compression=yes,kernel_cache'
+alias jwine='LANG=ja_JP.UTF-8 wine'
+alias puz='for F in *.zip; do mkdir "${F%.*}" && unzip -d "${F%.*}" "${F}" && rm "${F}"; done'
+
+# alias for discord wayland, since it ignores configs
+alias discord='discord --enable-features=UseOzonePlatform --ozone-platform=wayland'
 
 # define pretty man pages colors
 man() {