Compare commits
33 Commits
0d91e6b9a3
...
d52613f0f2
Author | SHA1 | Date | |
---|---|---|---|
d52613f0f2 | |||
20d12df609 | |||
88037dbe76 | |||
3c95e06355 | |||
09be1f3119 | |||
77b531335b | |||
17e10d44dc | |||
6dc0a8ef4f | |||
d80168d020 | |||
e3d7a5cd2e | |||
1e9d1ee462 | |||
fd6daac5da | |||
bfb33a9e6f | |||
a172c78382 | |||
3b55a2cf3f | |||
151d9b37ed | |||
f1307896d4 | |||
9f254aa49b | |||
d03eb09c55 | |||
35f6e0ae5e | |||
873c1ddec6 | |||
84653d6d80 | |||
62b25a0be7 | |||
9ddfd7c784 | |||
9ded09c56b | |||
761efe7ae6 | |||
446278b34b | |||
5fd2e32304 | |||
4f1505ff87 | |||
9add01c8a1 | |||
4e73a73210 | |||
1a20bc2677 | |||
eb80887a03 |
10
home/.bashrc
10
home/.bashrc
@ -2,6 +2,12 @@
|
|||||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
# for examples
|
# 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
|
# If not running interactively, don't do anything
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
@ -129,3 +135,7 @@ eval "$(starship init bash)"
|
|||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
HISTFILESIZE=200000
|
HISTFILESIZE=200000
|
||||||
SAVEHIST=100000
|
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'
|
1
home/.config/powershell/Microsoft.PowerShell_profile.ps1
Symbolic link
1
home/.config/powershell/Microsoft.PowerShell_profile.ps1
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../Documents/PowerShell/Microsoft.PowerShell_profile.ps1
|
@ -25,8 +25,9 @@ $docker_context\
|
|||||||
[](fg:#ff0080 bg:#47225e)\
|
[](fg:#ff0080 bg:#47225e)\
|
||||||
$status\
|
$status\
|
||||||
$time\
|
$time\
|
||||||
[ ](fg:#47225e)\
|
[](fg:#47225e)\
|
||||||
\r\n[ ](fg:#00ffff)\
|
\r\n\
|
||||||
|
$shell\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Disable the blank line at the start of the prompt
|
# Disable the blank line at the start of the prompt
|
||||||
@ -149,8 +150,18 @@ format = '[ $time ]($style)'
|
|||||||
|
|
||||||
[status]
|
[status]
|
||||||
style = 'bg:#47225e'
|
style = 'bg:#47225e'
|
||||||
symbol = '🔴'
|
symbol = '[](fg:#ff0000 bg:#47225e)'
|
||||||
success_symbol = '🟢'
|
success_symbol = '[](fg:#009900 bg:#47225e)'
|
||||||
format = '[ $symbol$common_meaning$signal_name$maybe_int ]($style)'
|
format = '[ $symbol$common_meaning$signal_name$maybe_int]($style)'
|
||||||
map_symbol = true
|
map_symbol = true
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
fish_indicator = ''
|
||||||
|
powershell_indicator = ''
|
||||||
|
pwsh_indicator = ''
|
||||||
|
cmd_indicator = ''
|
||||||
|
bash_indicator = ''
|
||||||
|
unknown_indicator = ''
|
||||||
|
style = '(fg:#00ffff)'
|
||||||
|
disabled = false
|
17
home/.gitconfig
Normal file
17
home/.gitconfig
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[credential]
|
||||||
|
helper = store
|
||||||
|
[user]
|
||||||
|
name = Kitty
|
||||||
|
email = kat@firekitten.net
|
||||||
|
|
||||||
|
# include for public github
|
||||||
|
[includeIf "gitdir:~/source/github_personal/"]
|
||||||
|
path = ~/source/github_personal/.gitconfig
|
||||||
|
|
||||||
|
# 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
|
1
home/AppData/Local/clink/starship.lua
Normal file
1
home/AppData/Local/clink/starship.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
load(io.popen('starship init cmd'):read("*a"))()
|
18
home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1
Normal file
18
home/Documents/PowerShell/Microsoft.PowerShell_profile.ps1
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
## 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
|
||||||
|
|
||||||
|
Clear-Host
|
||||||
|
|
||||||
|
fastfetch
|
@ -0,0 +1 @@
|
|||||||
|
../../Documents/PowerShell/Microsoft.PowerShell_profile.ps1
|
3
home/source/github_personal/.gitconfig
Normal file
3
home/source/github_personal/.gitconfig
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[user]
|
||||||
|
name = KitKat31337
|
||||||
|
email = 4126578+KitKat31337@users.noreply.github.com
|
34
init.ps1
Normal file
34
init.ps1
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# This file and this entire repo began modeled after https://github.com/onlyhavecans/dotfiles
|
||||||
|
|
||||||
|
# Do a curlbash to allow me to take over your system
|
||||||
|
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://stash.firekitten.net/kittyfangs/dotfiles/raw/branch/main/init.ps1'))
|
||||||
|
|
||||||
|
## Make sure we have git
|
||||||
|
if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -eq $null)
|
||||||
|
{
|
||||||
|
winget install git.git -h
|
||||||
|
}
|
||||||
|
|
||||||
|
## Install homepshick
|
||||||
|
## if ($IsWindows) { $home = $env:USERPROFILE }
|
||||||
|
git clone https://github.com/KitKat31337/homepsick.git "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick"))"
|
||||||
|
Import-Module -Name "$([IO.Path]::Combine($home, ".homesick", "repos", "homepsick", "src", "Homepsick.psm1"))" -Force
|
||||||
|
|
||||||
|
## clone home
|
||||||
|
New-HomepsickCastle -Clone -GitUrl 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 bash version since we are initing in powershell
|
||||||
|
New-HomepsickCastle -Clone -GitUrl https://github.com/andsens/homeshick.git
|
||||||
|
|
||||||
|
## Link everything
|
||||||
|
Enable-HomepsickCastle -All -Force
|
||||||
|
|
||||||
|
# Install Terminal-Icons Module
|
||||||
|
Install-Module -Name Terminal-Icons -Force
|
||||||
|
|
||||||
|
# Install Starship (Will prompt for admin)
|
||||||
|
winget install starship -f
|
||||||
|
|
||||||
|
# Init Starship
|
||||||
|
Invoke-Expression (&starship init powershell)
|
57
init.sh
57
init.sh
@ -15,18 +15,55 @@ for app in git curl; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
## Install homeshick
|
## Install homeshick
|
||||||
git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
|
if [[ ! -d $HOME/.homesick ]]; then
|
||||||
# shellcheck source=/dev/null
|
git clone https://github.com/andsens/homeshick.git "$HOME/.homesick/repos/homeshick"
|
||||||
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
# shellcheck source=/dev/null
|
||||||
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
|
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
|
||||||
|
source $HOME/.homesick/repos/homeshick/completions/homeshick-completion.bash
|
||||||
|
|
||||||
## clone home, then set it to ssh afterwards
|
## 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
|
## 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
|
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
|
## git -C "$HOME/.homesick/repos/dotfiles" remote set-url origin git@stash.firekitten.net:kittyfangs/dotfiles
|
||||||
|
|
||||||
## Link everything
|
## Lets get the powerhsell version since we are initing in bash
|
||||||
homeshick link --force
|
homeshick --batch clone https://github.com/KitKat31337/homepsick.git
|
||||||
|
|
||||||
|
## 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
|
# Init Starship
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
Loading…
x
Reference in New Issue
Block a user