Compare commits

...

9 Commits

3 changed files with 16 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Initial_linux_setup
bash:
bash <(curl -s https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/initial_setup.sh)
or
bash <(curl -sL https://bed.re/initial)
fish:
bash (curl -sL https://bed.re/initial | psub)

View File

@@ -1,5 +1,7 @@
#!/bin/bash
#
# v1.21 - Added an alias
# v1.2 - Changed an alias
# v1.1 - Added sudo function
# Install some programs
@@ -8,7 +10,10 @@ sleep 1
sudo apt-get update
sudo apt-get install nala -y
# Switch to nala
sudo nala install exa fish neofetch -y
sudo nala install fish neofetch ncdu duf tldr eza qemu-guest-agent -y
# Update tldr
echo "## Updating tldr"
tldr -u
# Get some custom configs
echo "## Downloading configs"
@@ -24,6 +29,7 @@ echo "## Placing files and rubbing 'em"
sudo /bin/cp -f /tmp/zx_customconfig.fish /etc/profile.d/02-zx_customaliases.sh
sudo sed -i '1,9d' /etc/profile.d/02-zx_customaliases.sh
sudo /bin/mv -f /tmp/zx_customconfig.fish /etc/fish/conf.d/
sudo /bin/mv -f /tmp/sudo.fish /etc/fish/functions/
sudo chown root:root /etc/fish/conf.d/zx_customconfig.fish
if [[ ! -d /etc/neofetch/ ]]; then
echo "## Creating neofetch config directory"

View File

@@ -13,9 +13,12 @@ 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 lt="exa --sort Name --long --tree --header --level 2"
alias lta="exa --sort Name --long --tree --all --header"
alias ls="exa --sort Name --header"
alias lg="exa --sort Name --long --all --header -G"
alias df="duf"
alias dc="docker compose"
# other aliases
alias copy='rsync -ah --progress'