Browse Source

add more envs and alias

Casey DeLorme 1 year ago
parent
commit
e6d90d350c
2 changed files with 6 additions and 0 deletions
  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
 # add local bin to path
 export PATH=/usr/local/bin:$PATH
 export PATH=/usr/local/bin:$PATH
+export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH"
 
 
 # explicitly set and append to XDG_DATA_DIRS
 # explicitly set and append to XDG_DATA_DIRS
 [ -z "$XDG_DATA_DIRS" ] && export XDG_DATA_DIRS="/usr/share:/usr/local/share"
 [ -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 ...='cd ../..'
 alias ...='cd ../..'
 alias sshfs='sshfs -o cache=yes,compression=yes,kernel_cache'
 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
 # define pretty man pages colors
 man() {
 man() {