Преглед на файлове

alias need to be in bashrc

Casey DeLorme преди 2 години
родител
ревизия
6c5cd72f4e
променени са 2 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. 0 10
      install/etc/skel/.bash_profile
  2. 10 0
      install/etc/skel/.bashrc

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

@@ -28,15 +28,5 @@ export SDL_VIDEODRIVER="wayland"
 export XDG_CURRENT_DESKTOP=Unity
 export WINE_FULLSCREEN_FSR=1
 
-# add aliases with optimized settings
-alias ls='ls -vhFA --color=auto'
-alias grep='grep --color=auto'
-alias ..='cd ..'
-alias ...='cd ../..'
-alias sshfs='sshfs -o cache=yes,compression=yes,kernel_cache'
-
-# alias for discord wayland, since it ignores configs
-alias discord='discord --enable-features=UseOzonePlatform --ozone-platform=wayland'
-
 # if bashrc exists and the terminal has stdin load it
 test -t 0 && . "$HOME/.bashrc"

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

@@ -1,5 +1,15 @@
 #!/bin/bash
 
+# add aliases with optimized settings
+alias ls='ls -vhFA --color=auto'
+alias grep='grep --color=auto'
+alias ..='cd ..'
+alias ...='cd ../..'
+alias sshfs='sshfs -o cache=yes,compression=yes,kernel_cache'
+
+# alias for discord wayland, since it ignores configs
+alias discord='discord --enable-features=UseOzonePlatform --ozone-platform=wayland'
+
 # define pretty man pages colors
 man() {
 	env \