Compare commits
6 Commits
4eb9fda73b
...
0d91e6b9a3
Author | SHA1 | Date | |
---|---|---|---|
0d91e6b9a3 | |||
27f17bd99b | |||
96e668cc93 | |||
66d3c77e18 | |||
f59d3761ce | |||
176431662a |
10
home/.bashrc
10
home/.bashrc
@ -2,6 +2,12 @@
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# Update the PATH
|
||||
[ -d /usr/local/bin ] && PATH="/usr/local/bin:$PATH"
|
||||
[ -d /opt/homebrew/bin ] && PATH="/opt/homebrew/bin:$PATH"
|
||||
[ -d /home/linuxbrew/.linuxbrew/bin ] && PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
|
||||
eval $(brew shellenv)
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
@ -129,3 +135,7 @@ eval "$(starship init bash)"
|
||||
HISTSIZE=100000
|
||||
HISTFILESIZE=200000
|
||||
SAVEHIST=100000
|
||||
|
||||
clear
|
||||
|
||||
fastfetch
|
80
home/.config/Brewfile
Normal file
80
home/.config/Brewfile
Normal file
@ -0,0 +1,80 @@
|
||||
# Yay
|
||||
|
||||
tap 'homebrew/services'
|
||||
|
||||
## Upgrades & Overlays
|
||||
|
||||
brew 'bat'
|
||||
brew 'btop'
|
||||
brew 'curl'
|
||||
brew 'eza'
|
||||
brew 'fd'
|
||||
brew 'fish'
|
||||
# brew 'gawk'
|
||||
brew 'httpie'
|
||||
# brew 'mosh'
|
||||
brew 'openssh'
|
||||
brew 'ripgrep'
|
||||
brew 'rsync'
|
||||
# brew 'tmux'
|
||||
brew 'watch'
|
||||
brew 'wget'
|
||||
brew 'whois'
|
||||
brew 'zoxide'
|
||||
|
||||
## Fun stuff
|
||||
|
||||
brew 'fastfetch'
|
||||
brew 'ffmpeg'
|
||||
brew 'ffmpegthumbnailer'
|
||||
brew 'fzf'
|
||||
brew 'handbrake'
|
||||
# brew 'hugo'
|
||||
# brew 'imagemagick'
|
||||
# brew 'marp-cli' # slides
|
||||
# brew 'poppler' # pdf tools
|
||||
# brew 'qpdf' # moar pdf
|
||||
# brew 'tintin'
|
||||
# brew 'tlrc'
|
||||
# brew 'trash-cli'
|
||||
brew 'unar'
|
||||
brew 'yazi'
|
||||
# brew 'yt-dlp'
|
||||
|
||||
## Dev Tooling
|
||||
|
||||
brew 'cmake' # neovim build needs
|
||||
brew 'direnv'
|
||||
# brew 'entr'
|
||||
brew 'gh'
|
||||
brew 'git'
|
||||
brew 'git-lfs'
|
||||
brew 'git-standup'
|
||||
# brew 'go'
|
||||
# brew 'golangci-lint'
|
||||
brew 'jq'
|
||||
# brew 'libpq'
|
||||
brew 'neovim'
|
||||
# brew 'overmind'
|
||||
brew 'pipx'
|
||||
|
||||
tap 'jesseduffield/lazygit'
|
||||
brew 'jesseduffield/lazygit/lazygit'
|
||||
|
||||
## Ops Tooling
|
||||
|
||||
brew 'dive'
|
||||
brew 'gnupg'
|
||||
brew 'nmap'
|
||||
# brew 'qrencode'
|
||||
# brew 'wireguard-tools'
|
||||
|
||||
# tap 'hashicorp/tap'
|
||||
# brew 'hashicorp/tap/terraform'
|
||||
|
||||
tap 'jesseduffield/lazydocker'
|
||||
brew 'jesseduffield/lazydocker/lazydocker'
|
||||
|
||||
## MAS time
|
||||
|
||||
brew 'mas'
|
@ -11,3 +11,7 @@
|
||||
# include for mad github
|
||||
[includeIf "gitdir:~/source/github_mad/"]
|
||||
path = ~/source/github_mad/.gitconfig
|
||||
|
||||
# include for mad github
|
||||
[includeIf "gitdir:~/source/devops_mad/"]
|
||||
path = ~/source/devops_mad/.gitconfig
|
@ -12,3 +12,7 @@ Invoke-Expression (&starship init powershell)
|
||||
|
||||
## Load Terminal Icons
|
||||
Import-Module -Name Terminal-Icons
|
||||
|
||||
Clear-Host
|
||||
|
||||
fastfetch
|
@ -1,14 +0,0 @@
|
||||
## Load Homepsick
|
||||
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
||||
|
||||
## Update my Homepsick repos
|
||||
Update-HomepsickCastle -All
|
||||
|
||||
## Link everything
|
||||
Enable-HomepsickCastle -All
|
||||
|
||||
## Load Starship Prompt
|
||||
Invoke-Expression (&starship init powershell)
|
||||
|
||||
## Load Terminal Icons
|
||||
Import-Module -Name Terminal-Icons
|
@ -0,0 +1 @@
|
||||
../../Documents/PowerShell/Microsoft.PowerShell_profile.ps1
|
58
init.sh
58
init.sh
@ -15,21 +15,55 @@ for app in git curl; do
|
||||
done
|
||||
|
||||
## Install homeshick
|
||||
git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
||||
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
|
||||
if [[ ! -d $HOME/.homesick ]]; then
|
||||
git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
|
||||
# shellcheck source=/dev/null
|
||||
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
||||
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
|
||||
|
||||
## clone home, then set it to ssh afterwards
|
||||
## This means we need our keys before we can make further actions - disable the ssh behavior for now
|
||||
homeshick --batch clone https://stash.firekitten.net/kittyfangs/dotfiles.git
|
||||
## git -C "$HOME/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kittyfangs/dotfiles
|
||||
## clone home, then set it to ssh afterwards
|
||||
## This means we need our keys before we can make further actions - disable the ssh behavior for now
|
||||
homeshick --batch clone https://stash.firekitten.net/kittyfangs/dotfiles.git
|
||||
## git -C "$HOME/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kittyfangs/dotfiles
|
||||
|
||||
## Lets get the powerhsell version since we are initing in bash
|
||||
homeshick --batch clone https://github.com/KitKat31337/homepsick.git
|
||||
## Lets get the powerhsell version since we are initing in bash
|
||||
homeshick --batch clone https://github.com/KitKat31337/homepsick.git
|
||||
|
||||
## Link everything
|
||||
homeshick link --force
|
||||
## Link everything
|
||||
homeshick link --force
|
||||
else
|
||||
## Update the repos
|
||||
if ! command -v homeshick &>/dev/null; then
|
||||
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
||||
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
|
||||
fi
|
||||
|
||||
homeshick pull
|
||||
homeshick link
|
||||
fi
|
||||
|
||||
|
||||
if ! command -v brew &>/dev/null; then
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
[ -d /usr/local/bin ] && PATH="/usr/local/bin:$PATH"
|
||||
[ -d /opt/homebrew/bin ] && PATH="/opt/homebrew/bin:$PATH"
|
||||
[ -d /home/linuxbrew/.linuxbrew/bin ] && PATH="/home/linuxbrew/.linuxbrew/bin:$PATH"
|
||||
eval $(brew shellenv)
|
||||
brew bundle install --file=~/.config/Brewfile
|
||||
fi
|
||||
|
||||
## All my asdf
|
||||
# if [[ ! -d $HOME/.asdf ]]; then
|
||||
# git clone https://github.com/asdf-vm/asdf.git ~/.asdf
|
||||
# git -C ~/.asdf checkout "$(git -C ~/.asdf describe --abbrev=0 --tags)"
|
||||
|
||||
# # shellcheck source=/dev/null
|
||||
# source "$HOME/.asdf/asdf.sh"
|
||||
|
||||
# asdf plugin-add python
|
||||
# asdf install python latest
|
||||
# asdf global python latest
|
||||
# fi
|
||||
|
||||
# Init Starship
|
||||
eval "$(starship init bash)"
|
Loading…
x
Reference in New Issue
Block a user