Compare commits
9 Commits
a6f3f8385e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 708b1d76f4 | |||
| 528b60dd19 | |||
| 4f8fb2fb92 | |||
| 8359412e6b | |||
| 2330215009 | |||
| af9a7c47f2 | |||
| e8bf39438a | |||
| 8f4f868216 | |||
| 4351cf36f7 |
@@ -1,5 +1,9 @@
|
|||||||
# Initial_linux_setup
|
# Initial_linux_setup
|
||||||
|
|
||||||
|
bash:
|
||||||
bash <(curl -s https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/initial_setup.sh)
|
bash <(curl -s https://code.strandbo.no/morten/Initial_linux_setup/raw/branch/main/initial_setup.sh)
|
||||||
or
|
or
|
||||||
bash <(curl -sL https://bed.re/initial)
|
bash <(curl -sL https://bed.re/initial)
|
||||||
|
|
||||||
|
fish:
|
||||||
|
bash (curl -sL https://bed.re/initial | psub)
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
# v1.21 - Added an alias
|
||||||
|
# v1.2 - Changed an alias
|
||||||
# v1.1 - Added sudo function
|
# v1.1 - Added sudo function
|
||||||
|
|
||||||
# Install some programs
|
# Install some programs
|
||||||
@@ -8,7 +10,10 @@ sleep 1
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install nala -y
|
sudo apt-get install nala -y
|
||||||
# Switch to nala
|
# 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
|
# Get some custom configs
|
||||||
echo "## Downloading 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 /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 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/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
|
sudo chown root:root /etc/fish/conf.d/zx_customconfig.fish
|
||||||
if [[ ! -d /etc/neofetch/ ]]; then
|
if [[ ! -d /etc/neofetch/ ]]; then
|
||||||
echo "## Creating neofetch config directory"
|
echo "## Creating neofetch config directory"
|
||||||
|
|||||||
@@ -13,9 +13,12 @@ alias ll="exa --sort Name --long --header"
|
|||||||
alias la="exa --sort Name --long --all --header"
|
alias la="exa --sort Name --long --all --header"
|
||||||
alias lr="exa --sort Name --long --recurse --header"
|
alias lr="exa --sort Name --long --recurse --header"
|
||||||
alias lra="exa --sort Name --long --recurse --all --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 lta="exa --sort Name --long --tree --all --header"
|
||||||
alias ls="exa --sort Name --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
|
# other aliases
|
||||||
alias copy='rsync -ah --progress'
|
alias copy='rsync -ah --progress'
|
||||||
|
|||||||
Reference in New Issue
Block a user