mirror of https://github.com/aldy505/dotfiles.git
gonna see the light of day
This commit is contained in:
parent
dcc2fd2a52
commit
8f5630325f
|
@ -24,5 +24,6 @@ Debian (I used to use Ubuntu)
|
||||||
│
|
│
|
||||||
├── me.jpg - My Github profile picture
|
├── me.jpg - My Github profile picture
|
||||||
├── README.md - You are here
|
├── README.md - You are here
|
||||||
└── setup.sh - Entrypoint if I'm doing a fresh install
|
├── setup_arch.sh - Entrypoint if I'm doing a fresh install for arch
|
||||||
|
└── setup_deb.sh - Entrypoint if I'm doing a fresh install for debian
|
||||||
```
|
```
|
|
@ -0,0 +1,41 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
ME="/home/$(whoami)"
|
||||||
|
CFG="${ME}/.config"
|
||||||
|
DOTFILES="${ME}/dotfiles"
|
||||||
|
BINDIR="${ME}/dotfiles/bin"
|
||||||
|
|
||||||
|
sudo -v
|
||||||
|
|
||||||
|
echo "I'm assuming you're doing a fresh install. Send a SIGTERM anytime you like."
|
||||||
|
|
||||||
|
# Set dotfiles path
|
||||||
|
DOTFILES_PATH=$(pwd)
|
||||||
|
|
||||||
|
function set_symlink () {
|
||||||
|
sudo rm $HOME/.bashrc
|
||||||
|
sudo ln -s ${DOTFILES_PATH}/bash/.bashrc $HOME/.bashrc
|
||||||
|
echo "export DOTFILES_PATH=$(pwd)" >> $HOME/.bashrc
|
||||||
|
sudo rm $HOME/.bash_logout
|
||||||
|
sudo ln -s ${DOTFILES_PATH}/bash/.bash_logout $HOME/.bash_logout
|
||||||
|
sudo rm $HOME/.profile
|
||||||
|
sudo ln -s ${DOTFILES_PATH}/bash/.profile $HOME/.profile
|
||||||
|
sudo rm $HOME/.gitconfig
|
||||||
|
sudo ln -s ${DOTFILES_PATH}/git/.gitconfig $HOME/.gitconfig
|
||||||
|
sudo rm $HOME/.czcrc
|
||||||
|
sudo ln -s ${DOTFILES_PATH}/git/.czrc $HOME/.czrc
|
||||||
|
}
|
||||||
|
|
||||||
|
sudo chmod -R 755 ./scripts
|
||||||
|
sudo chmod -R 755 ./bin
|
||||||
|
sudo mkdir /opt/bin
|
||||||
|
|
||||||
|
yes | sudo pacman -Syu
|
||||||
|
yes | sudo pacman -S gtk3 jdk gnupg gcc glibc boost rlwrap cmake icu unzip python2 python ca-certificates php protobuf rust rustup go julia-bin lua
|
||||||
|
yes | sudo pacman -S fd bat ripgrep fzf neofetch curlie duf exa
|
||||||
|
yes | sudo pacman -S visual-studio-code-bin mongodb-compass 7-zip brave-bin spotify protonvpn-gui authy cloudflare-warp-bin telegram-desktop-bin
|
||||||
|
|
||||||
|
set_symlink
|
||||||
|
|
||||||
|
./scripts/node.sh install
|
||||||
|
./scripts/micro.sh install
|
|
@ -63,3 +63,5 @@ fi
|
||||||
./scripts/micro.sh install
|
./scripts/micro.sh install
|
||||||
|
|
||||||
./scripts/utils.sh install
|
./scripts/utils.sh install
|
||||||
|
|
||||||
|
C:\Users\Asus ROG\AppData\Roaming\Code\User
|
|
@ -0,0 +1 @@
|
||||||
|
/mnt/c/users/asus rog/appdata/roaming/code/user/settings.json
|
Loading…
Reference in New Issue