Merge branch 'main' of https://tildegit.org/drwasabi/my-dotfiles into main
This commit is contained in:
commit
4925be4ebd
|
@ -42,7 +42,7 @@ alias vi='nvim'
|
|||
alias ni='nvim'
|
||||
|
||||
# bat, cat with wings
|
||||
alias cat='batcat'
|
||||
alias cat='bat'
|
||||
|
||||
# apt aliass
|
||||
alias aptud='sudo apt update'
|
||||
|
|
22
README.md
22
README.md
|
@ -1,5 +1,17 @@
|
|||
# Wasabi .dotfiles
|
||||
|
||||
```txt
|
||||
__ __ _____ __
|
||||
____ ___ __ __ ____/ /___ / /_/ __(_) /__ _____
|
||||
/ __ `__ \/ / / /_____/ __ / __ \/ __/ /_/ / / _ \/ ___/
|
||||
/ / / / / / /_/ /_____/ /_/ / /_/ / /_/ __/ / / __(__ )
|
||||
/_/ /_/ /_/\__, / \__,_/\____/\__/_/ /_/_/\___/____/
|
||||
/____/
|
||||
____ ____ ___
|
||||
/ __ \___ ____ _____/ / |/ /__
|
||||
/ /_/ / _ \/ __ `/ __ / /|_/ / _ \
|
||||
/ _, _/ __/ /_/ / /_/ / / / / __/
|
||||
/_/ |_|\___/\__,_/\__,_/_/ /_/\___/
|
||||
```
|
||||
## my-dotfiles repo, hosted at tildegit.org
|
||||
|
||||
|
||||
|
@ -8,3 +20,11 @@
|
|||
### Why?
|
||||
|
||||
One Repo to rule them all! Would like to come up with a script that is part of this repo that would setup all the symlinks to the files when I have a new linux vm or pc.
|
||||
|
||||
### mysetup.sh
|
||||
|
||||
Working on a setup script that will setup all
|
||||
* Symlinks
|
||||
* Grab needed repos
|
||||
* if my machine will install need apps I like to have
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
mosh
|
||||
fish
|
||||
neovim
|
||||
pip
|
||||
figlet
|
||||
gh
|
||||
lolcat
|
||||
keychain
|
||||
bat
|
||||
golang
|
||||
cmatrix
|
||||
chuck
|
||||
aptitude
|
||||
xcowsay
|
||||
snap
|
||||
hollywood
|
||||
fzf
|
||||
speedtest-cli
|
||||
cowsay
|
||||
ncdu
|
|
@ -0,0 +1,36 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
|
||||
##########################################################################
|
||||
#
|
||||
# ____ ___ __ __ ____ _____ / /_ ____ _____ ____ _____
|
||||
# / __ `__ \/ / / /_____/ __ `/ __ \/ __/_____/ __ `/ __ \/ __ \/ ___/
|
||||
# / / / / / / /_/ /_____/ /_/ / /_/ / /_/_____/ /_/ / /_/ / /_/ (__ )
|
||||
# /_/ /_/ /_/\__, / \__,_/ .___/\__/ \__,_/ .___/ .___/____/
|
||||
# /____/ /_/ /_/ /_/
|
||||
#
|
||||
#########################################################################
|
||||
# my-apt-apps.sh
|
||||
# Apps I like to have on my machines
|
||||
|
||||
# check if I'm logged on to the tilde.team, if so. Dont run this stuff
|
||||
if [ $HOSTNAME != 'tilde' ]; then
|
||||
# Can I check for a a file of apps, and if it's there, read it into $APPS?
|
||||
|
||||
if [ -f ~/mydev/my-dotfiles/my-apps.txt ]; then
|
||||
while read APPS
|
||||
do
|
||||
echo "\n******************************************\n Installing: $APPS"
|
||||
sudo apt install $APPS
|
||||
done < my-apps.txt
|
||||
fi # End If apps file lookup
|
||||
|
||||
# for APPS in curl lolcat figlet cowsay lynx
|
||||
# do
|
||||
# sudo apt install $APPS
|
||||
# echo "Intalling $APPS"
|
||||
# echo " "
|
||||
# done
|
||||
|
||||
fi # endif HOSTNAME
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
#!/bin/bash
|
||||
|
||||
#########################################################
|
||||
#
|
||||
# __ __
|
||||
# ____ ___ __ __________ / /___ ______ _____/ /_
|
||||
# / __ `__ \/ / / / ___/ _ \/ __/ / / / __ \ / ___/ __ \
|
||||
# / / / / / / /_/ (__ ) __/ /_/ /_/ / /_/ / (__ ) / / /
|
||||
# /_/ /_/ /_/\__, /____/\___/\__/\__,_/ .___(_)____/_/ /_/
|
||||
# /____/ /_/
|
||||
# Create all the links to to my dotfiles and maybe it can go get other needed
|
||||
# repos I might want, and tools??
|
||||
# 9/5/2022
|
||||
#
|
||||
#########################################################
|
||||
|
||||
# Might need to have differnt sections, like '-l' todo just the sym links
|
||||
# -r to download my repos I want
|
||||
# -a to go and apt install common apps I want on all my systems
|
||||
|
||||
|
||||
|
||||
#bash files
|
||||
echo "Linking bash config files"
|
||||
ln -fs ~/mydev/my-dotfiles/.bashrc ~/.bashrc
|
||||
ln -fs ~/mydel/my-dotfiles/.bash_alias ~/.bash_alias
|
||||
|
||||
#git files
|
||||
echo "Linking git config files"
|
||||
ln -fs ~/mydev/my-dotfiles/.gitconfig ~/.gitconfig
|
||||
|
||||
#vimrc file
|
||||
ln -fs ~/mydev/my-dotfiles/.vimrc ~/.vimrc
|
||||
|
||||
#neovim config
|
||||
#check if nvim folder is there, if not create it
|
||||
if [ ! -d "~/.config" ]; then
|
||||
echo "~/.config folder not found. creating it"
|
||||
mkdir ~/.config
|
||||
fi
|
||||
|
||||
if [ ! -d "~/.config/nvim" ]; then
|
||||
# folder there, just create link
|
||||
echo "nvim folder not found, creating it"
|
||||
mkdir ~/.config/nvim
|
||||
fi
|
||||
|
||||
echo "Link nvim config files"
|
||||
ln -fs ~/mydev/my-dotfiles/init.vim ~/.config/nvim/init.vim
|
||||
ln -fs ~/mydev/my-dotfiles/plugins-to-load.vim ~/.config/nvim/plugins-to-load.vim
|
||||
ln -fs ~/mydev/my-dotfiles/fzf-plugin-settings.vim ~/.config/nvim/fzf-plugin-settings.vim
|
||||
ln -fs ~/mydev/my-dotfiles/nvim-basic-settings.vim ~/.config/nvim/nvim-basic-settings.vim
|
||||
|
||||
|
Loading…
Reference in New Issue