Skip to content

Commit b40b4e1

Browse files
committed
Initial commit
0 parents  commit b40b4e1

File tree

9 files changed

+1748
-0
lines changed

9 files changed

+1748
-0
lines changed

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "dotbot"]
2+
path = dotbot
3+
url = https://github.com/anishathalye/dotbot
4+
ignore = dirty

dotbot

Submodule dotbot added at 328bcb3

gitconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[user]
2+
name = Kai Folf
3+
4+
signingkey = ~/.ssh/id_ed25519_sk.pub
5+
[gpg]
6+
program = /usr/bin/gpg2
7+
format = ssh
8+
[commit]
9+
gpgsign = true
10+
[init]
11+
defaultBranch = main
12+
[core]
13+
editor = nano
14+
[filter "lfs"]
15+
clean = git-lfs clean -- %f
16+
smudge = git-lfs smudge -- %f
17+
process = git-lfs filter-process
18+
required = true

gnupg/gpg-agent.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
enable-ssh-support

gnupg/gpg.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GnuPG config file created by KGpg
2+
3+
default-key 0FDCDC56278DE94BCF90F4855C3F4A751D7F29B8

install

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
5+
CONFIG="install.conf.yaml"
6+
DOTBOT_DIR="dotbot"
7+
8+
DOTBOT_BIN="bin/dotbot"
9+
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
10+
11+
cd "${BASEDIR}"
12+
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
13+
git submodule update --init --recursive "${DOTBOT_DIR}"
14+
15+
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"

install.conf.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
- defaults:
2+
link:
3+
relink: true
4+
5+
- clean: ['~']
6+
7+
- link:
8+
~/.p10k.zsh: p10k.zsh
9+
~/.zshrc: zshrc
10+
~/.gitconfig: gitconfig
11+
~/.gnupg/gpg.conf: gnupg/gpg.conf
12+
~/.gnupg/gpg-agent.conf: gnupg/gpg-agent.conf
13+
14+
- shell:
15+
- [git submodule update --init --recursive, Installing submodules]

p10k.zsh

Lines changed: 1624 additions & 0 deletions
Large diffs are not rendered by default.

zshrc

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Enable Powerlevel10k instant prompt
2+
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
3+
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
4+
fi
5+
6+
# Path to oh-my-zsh
7+
export ZSH="$HOME/.oh-my-zsh"
8+
9+
# Set name of the theme to load
10+
ZSH_THEME="powerlevel10k/powerlevel10k"
11+
12+
# ZSH plugins
13+
plugins=(git zsh-autosuggestions zsh-syntax-highlighting archlinux zsh-pyenv web-search)
14+
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
15+
16+
# Oh My Zsh
17+
source $ZSH/oh-my-zsh.sh
18+
19+
# Preferred editor
20+
export EDITOR="nano"
21+
22+
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
23+
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
24+
25+
# Something IDRK about GPG for SSH auth, also fix signing git commit
26+
#unset SSH_AGENT_PID
27+
#if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
28+
# export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
29+
#fi
30+
#export GPG_TTY=$TTY
31+
#gpg-connect-agent updatestartuptty /bye > /dev/null
32+
33+
# SSH Agent
34+
SSH_AUTH_SOCK="~/.ssh/agent"
35+
36+
# Python
37+
export PATH="$HOME/.local/bin:$PATH"
38+
alias pip=pip3
39+
40+
# Ruby gem binaries
41+
export PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH"
42+
43+
# Android/Flutter
44+
export JAVA_OPTS="-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee"
45+
export JAVA_HOME="/usr/lib/jvm/java-16-openjdk"
46+
export ANDROID_SDK_ROOT="/opt/android-sdk"
47+
export PATH="/opt/flutter/bin:/opt/android-sdk/tools/bin:/opt/android-sdk/platform-tools:$PATH"
48+
export CHROME_EXECUTABLE="/usr/bin/brave"
49+
50+
# Colorls
51+
alias ls=colorls
52+
53+
# YoutubeDL
54+
alias ytdl=youtube-dl
55+
56+
# Bun
57+
export PATH="$HOME/.bun/bin:$PATH"
58+
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
59+
60+
# Yarn
61+
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
62+
63+
# Rust
64+
export PATH="$HOME/.cargo/bin:$PATH"
65+
66+
# Spicetify
67+
export PATH=$PATH:$HOME/.spicetify

0 commit comments

Comments
 (0)