Prechádzať zdrojové kódy

alias need to be in bashrc

Casey DeLorme 2 rokov pred
rodič
commit
6c5cd72f4e
2 zmenil súbory, kde vykonal 10 pridanie a 10 odobranie
  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 \