This commit is contained in:
2023-11-28 14:33:20 +01:00
parent d0da9cfb8f
commit 6ca6561d44
3 changed files with 16 additions and 1 deletions

View File

View File

@@ -7,7 +7,7 @@ sudo apt-get install nala --force-yes
sudo nala install exa fish --force-yes
# Get some custom configs
wget -O /tmp/zx_customconfig.fish https://code.strandbo.org/zxczc/zxczxc/zx_customconfig.fish
wget -O /tmp/zx_customconfig.fish https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/zx_customconfig.fish
# Move them about
/bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh

15
zx_customconfig.fish Normal file
View File

@@ -0,0 +1,15 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
# A few aliases for exa, a ls replacement
alias ll="exa --sort Name --long --header"
alias la="exa --sort Name --long --all --header"
alias lr="exa --sort Name --long --recurse --header"
alias lra="exa --sort Name --long --recurse --all --header"
alias lt="exa --sort Name --long --tree --header"
alias lta="exa --sort Name --long --tree --all --header"
alias ls="exa --sort Name --header"
# other aliases
alias copy='rsync -ah --progress'