Compare commits
2 Commits
9cbc1e6d9c
...
01fdc40a46
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
01fdc40a46 | ||
|
|
12e57c8fc3 |
@@ -2,6 +2,24 @@ source /usr/share/cachyos-fish-config/cachyos-config.fish
|
|||||||
|
|
||||||
alias ll='ls --color=auto'
|
alias ll='ls --color=auto'
|
||||||
|
|
||||||
|
# Git Aliases
|
||||||
|
alias ga='git add'
|
||||||
|
alias gaa='git add .'
|
||||||
|
alias gb='git branch'
|
||||||
|
alias gc='git clone'
|
||||||
|
alias gcb='git checkout -b'
|
||||||
|
alias gco='git checkout'
|
||||||
|
alias gcmsg='gft -m'
|
||||||
|
alias gd='git diff'
|
||||||
|
alias gf='git fetch'
|
||||||
|
alias gl='git pull'
|
||||||
|
alias gp='git push'
|
||||||
|
alias gpu='git push -u origin $(git branch --show-current)'
|
||||||
|
alias grs='git restore --staged'
|
||||||
|
alias gst='git status'
|
||||||
|
alias gwa='gft -i'
|
||||||
|
alias gwr='gft -r'
|
||||||
|
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
|
|||||||
61
install-arch.sh
Normal file
61
install-arch.sh
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
APPS=(
|
||||||
|
brave-bin
|
||||||
|
element-desktop
|
||||||
|
libreoffice-fresh
|
||||||
|
neovim-git
|
||||||
|
proton-mail-bin
|
||||||
|
proton-vpn-gtk-app
|
||||||
|
rtorrent
|
||||||
|
steam
|
||||||
|
stow
|
||||||
|
tmux
|
||||||
|
wl-clipboard
|
||||||
|
)
|
||||||
|
|
||||||
|
# Sym Link Home Folders To External Storage
|
||||||
|
while true; do
|
||||||
|
read -p "Do you want to link home folders with external storage? y/N: " storageChoice
|
||||||
|
storageChoice=$(echo "$storageChoice" | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
|
sudo rm -rf ~/Public ~/Templates
|
||||||
|
|
||||||
|
if [ "$storageChoice" = "y" ]; then
|
||||||
|
read -p "Specify the path to the external storage device (full path must be used): " storagePath
|
||||||
|
|
||||||
|
sudo rm -rf ~/Documents ~/Pictures ~/Downloads ~/Videos ~/Music
|
||||||
|
|
||||||
|
ln -s "$storagePath/Pictures/" ~/
|
||||||
|
ln -s "$storagePath/Repos/" ~/
|
||||||
|
ln -s "$storagePath/Documents/" ~/
|
||||||
|
ln -s "$storagePath/Downloads/" ~/
|
||||||
|
ln -s "$storagePath/Videos/" ~/
|
||||||
|
ln -s "$storagePath/Music/" ~/
|
||||||
|
|
||||||
|
break
|
||||||
|
elif [ "$storageChoice" = "n" ]; then
|
||||||
|
echo "Skipping sym linking..."
|
||||||
|
cp -r ./Repos ~
|
||||||
|
break
|
||||||
|
else
|
||||||
|
echo "Invalid input. Please enter y or n."
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Install Apt Apps
|
||||||
|
for i in "${APPS[@]}"
|
||||||
|
do
|
||||||
|
if [ -x "$(command -v $i)" ]; then
|
||||||
|
echo "$i already installed!"
|
||||||
|
else
|
||||||
|
sudo pacman -S $i
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
sudo rm -rf ~/.config/fish/ ~/.config/alacritty
|
||||||
|
|
||||||
|
# Link Config Files
|
||||||
|
for folder in ${DOTFILES[@]}
|
||||||
|
do
|
||||||
|
echo $folder
|
||||||
|
stow $folder --adopt
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user