diff options
author | Elizabeth <me@liz.coffee> | 2025-05-19 23:03:02 -0700 |
---|---|---|
committer | Elizabeth <me@liz.coffee> | 2025-05-19 23:03:02 -0700 |
commit | 15b24ab9d782a8e5683f305ec8b1c31849a64246 (patch) | |
tree | bdb7c85f0d1f81e493c43360125ca61d6d26145c /zsh/.config | |
download | dotfiles-15b24ab9d782a8e5683f305ec8b1c31849a64246.tar.gz dotfiles-15b24ab9d782a8e5683f305ec8b1c31849a64246.zip |
initial commit
Diffstat (limited to 'zsh/.config')
38 files changed, 289 insertions, 0 deletions
diff --git a/zsh/.config/zsh/greetings/00_art/another_penguin b/zsh/.config/zsh/greetings/00_art/another_penguin new file mode 100644 index 0000000..00f43e3 --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/another_penguin @@ -0,0 +1,15 @@ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣖⣫⠵⠔⢿⣿⣿⣿⡄⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⢠⠾⠯⣾⠃⠀⢀⣸⡿⠛⠻⢿⣆⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠆⣀⡀⠹⣶⣀⣨⡏⢀⣀⡀⠈⣿⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⢸⠀⠛⠃⢰⠋⠉⢻⠀⠘⠛⠃⠀⣿⡄⠀⠀ +⠀⠀⠀⠀⠀⢀⣀⣘⡀⠀⠀⠀⠀⠒⠉⠀⠀⠀⢀⣼⡟⠀⠀⠀ +⣠⣶⣶⣾⣿⣿⣿⣿⣯⡶⡀⠀⠀⠀⠀⢀⣀⢴⡻⣗⡄⠀⠀⠀ +⠹⡿⠿⠛⢿⣿⣿⣿⣟⣥⡈⠉⠁⠀⠀⠀⠀⢀⣵⢊⠨⠢⠀⠀ +⠀⠀⠀⠀⠘⠻⠿⠿⠿⠁⠘⠋⠒⠂⠀⠐⠊⠉⠈⠎⣦⡀⠱⡀ +⠀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠘⠟⢧⣱ +⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠀⢸⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⢸⣇⠀⡀⠀⠀⠀⠀⠀⠀⠀⡰⠁⠀⢺⠆⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠻⣆⠳⢄⣀⠠⠀⠀⠐⡄⡇⠀⣠⡯⠟⠀ +⠀⠀⠀⠀⠀⠀⠀⣤⣎⣟⡖⣺⠗⠉⠉⠉⠉⠉⡖⡶⣟⢢⣐⠶ +⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠁⠒⠒⠒⠒⠒⠂⠉⠉⠉⠁⠀⠀
\ No newline at end of file diff --git a/zsh/.config/zsh/greetings/00_art/butterfly b/zsh/.config/zsh/greetings/00_art/butterfly new file mode 100644 index 0000000..cea5d72 --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/butterfly @@ -0,0 +1,9 @@ +⠀⠀⠀⠀⊹ +⢶⢻⣑⣒⢤⡀⠀⢄⠀⠀⡠⠀⢀⡤⣆⣊⡿⡷ +⠀⠹⠹⣚⣣⠻⣦⡀⠀⠀⢀⣴⠟⣸⢓⢎⠏⠀ +⠀⠀⢡⣱⣖⣢⡾⢿⣾⣷⡿⢷⣖⣒⣎⡎⠀⠀ +⠀⠀⠀⣠⠓⢬⠅⡺⢻⡟⢗⠨⡥⠚⣄⠀⠀⠀ +⠀⠀⠀⣿⡆⠘⠆⢇⢸⡇⠸⠰⠃⢰⣿⠀⠀⠀ +⠀⠀⠀⠐⡻⣮⣬⠞⠈⠁⠳⣤⣴⢿⠂⠀⠀⠀ +⠀⠀⠀⡜⠀⠁⠉⠀⠀⠀⠀⠈⠈⠀⢣⠀⠀⠀⊹ +⊹
\ No newline at end of file diff --git a/zsh/.config/zsh/greetings/00_art/eebjy b/zsh/.config/zsh/greetings/00_art/eebjy new file mode 100644 index 0000000..6e6bbcf --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/eebjy @@ -0,0 +1,9 @@ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠀⠀⠀⠀ +⠀⠀⠀⠀⢀⡴⣆⠀⠀⠀⠀⠀⣠⡀ ᶻ 𝗓 𐰁 .ᐟ ⣼⣿⡗⠀⠀⠀⠀ +⠀⠀⠀⣠⠟⠀⠘⠷⠶⠶⠶⠾⠉⢳⡄⠀⠀⠀⠀⠀⣧⣿⠀⠀⠀⠀⠀ +⠀⠀⣰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣤⣤⣤⣤⣤⣿⢿⣄⠀⠀⠀⠀ +⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣧⠀⠀⠀⠀⠀⠀⠙⣷⡴⠶⣦ +⠀⠀⢱⡀⠀⠉⠉⠀⠀⠀⠀⠛⠃⠀⢠⡟⠀⠀⠀⢀⣀⣠⣤⠿⠞⠛⠋ +⣠⠾⠋⠙⣶⣤⣤⣤⣤⣤⣀⣠⣤⣾⣿⠴⠶⠚⠋⠉⠁⠀⠀⠀⠀⠀⠀ +⠛⠒⠛⠉⠉⠀⠀⠀⣴⠟⢃⡴⠛⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ diff --git a/zsh/.config/zsh/greetings/00_art/heart b/zsh/.config/zsh/greetings/00_art/heart new file mode 100644 index 0000000..3394514 --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/heart @@ -0,0 +1,8 @@ +. +⠀ ⠀ +⠀˚⠀ ⣴⠟⠉⠉⠛⢦⡀⢀⣴⠛⠉⠈⠙⠻⣄ +⠀⠀⣼⠃⠀⠀⠀⠀⠀⠙⠋⠀⠀⠀⠀⠀⠀⠹⣦ +⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿ +⠀⠀⠿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⡆ +⠀⠀⠀⢻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡼⠃ +⠀⠀⠀⠀⠀⠻⢦⣄⠀⠀⠀⠀⠀⣠⡴⠛ +⠀⠀⠀⠀⠀⠀⠀⠉⠛⠶⣄⠶⠋ ⠀⠀⠀+. *
\ No newline at end of file diff --git a/zsh/.config/zsh/greetings/00_art/penguin b/zsh/.config/zsh/greetings/00_art/penguin new file mode 100644 index 0000000..6389d00 --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/penguin @@ -0,0 +1,16 @@ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡤⠴⠒⠒⠒⠶⢤⣄⡀⠀⠀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢦⡀⠀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⡼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢳⡀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⢸⠁⠀⠀⣠⠖⠛⠛⠲⢤⠀⠀⠀⣰⠚⠛⢷⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⣿⠀⠀⣸⠃⠀⠀⢀⣀⠈⢧⣠⣤⣯⢠⣤⠘⣆⠀⠀⠀ +⠀⠀⠀⠀⠀⣿⠀⠀⡇⠀⠀⠀⠻⠟⠠⣏⣀⣀⣨⡇⠉⢀⣿⠀⠀⠀ +⠀⠀⠀⠀⢀⡟⠀⠀⠹⡄⠀⠀⠀⠀⠀⠉⠑⠚⠉⠀⣠⡞⢿⠀⠀⠀ +⠀⠀⠀⢀⡼⠁⠀⠀⠀⠙⠳⢤⡄⠀⠀⠀⠀⠀⠀⠀⠁⠙⢦⠳⣄⠀ +⠀⠀⢀⡾⠁⠀⠀⠀⠀⠀⠤⣏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠃⠙⡆ +⠀⠀⣼⠁⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀⢠⡏⠀⠀⡇ +⠀⠀⣏⠀⠀⠀⠀⠲⣄⡀⠀⠀⠀⠸⡄⠀⠀⠀⠀⠀⠀⢸⠀⢀⡼⠁ +⢀⡴⢿⠀⠀⠀⠀⠀⢸⠟⢦⡀⠀⢀⡇⠀⠀⠀⠀⠀⠀⠘⠗⣿⠁⠀ +⠸⣦⡘⣦⠀⠀⠀⠀⣸⣄⠀⡉⠓⠚⠀⠀⠀⠀⠀⠀⠀⠀⡴⢹⣦⡀ +⠀⠀⠉⠛⠳⢤⣴⠾⠁⠈⠟⠉⣇⠀⠀⠀⠀⠀⠀⠀⣠⠞⠁⣠⠞⠁ +⠀⠀⠀⠀⠀⠀⠙⢧⣀⠀⠀⣠⠏⠀⠀⢀⣀⣠⠴⠛⠓⠚⠋⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠋⠉⠉⠉⠉⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ diff --git a/zsh/.config/zsh/greetings/00_art/puppy b/zsh/.config/zsh/greetings/00_art/puppy new file mode 100644 index 0000000..c4d7fbb --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/puppy @@ -0,0 +1,10 @@ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣄⢀⡀⠀⠀⠀⠀ +⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⡿⠀⠀⠀⠀ +⠀⠀⠀⠀⣀⣀⣤⠖⠛⠉⠉⠉⠉⠉⠙⠒⠦⣿⣏⣀⠀⠀⠀⠀ +⠀⠀⣠⠞⠁⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢵⡄⠀⠀ +⠀⢰⣯⠀⠀⢀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠀⠀⣿⠀⠀ +⠀⠈⣇⢀⢠⠇⠀⣶⡶⠄⠀⠀⠀⢠⣶⡶⠀⠀⣸⣀⣼⠟⠀⠀ +⠀⠀⠙⠛⠾⡆⠀⠙⠛⠃⠀⠀⠀⠀⠙⠋⠀⠀⣹⠟⠁⠀⠀⠀ +⢀⡴⠚⠉⠛⢿⠀⠀⠀⠀⢿⣿⠆⠀⠀⠀⠀⢀⣿⠋⠉⠉⢳⡄ +⢾⡀⡄⠀⣄⡼⠻⢧⠤⣤⠤⠤⣤⣠⣦⣾⠶⠞⢿⣤⡄⣠⣀⡷ +⠈⠙⠛⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠉⠀
\ No newline at end of file diff --git a/zsh/.config/zsh/greetings/00_art/totoro b/zsh/.config/zsh/greetings/00_art/totoro new file mode 100644 index 0000000..9a1ba92 --- /dev/null +++ b/zsh/.config/zsh/greetings/00_art/totoro @@ -0,0 +1,13 @@ +⠀⠀⠀⠀⣶⣄⠀⠀⠀⠀⠀⠀⢀⣶⡆⠀⠀⠀ +⠀⠀⠀⢸⣿⣿⡆⠀⠀⠀⠀⢀⣾⣿⡇⠀⠀⠀ +⠀⠀⠀⠘⣿⣿⣿⠀⠀⠀⠀⢸⣿⣿⡇⠀⠀⠀ +⠀⠀⠀⠀⢿⣿⣿⣤⣤⣤⣤⣼⣿⡿⠃⠀⠀⠀ +⠀⠀⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣆⠀⠀⠀ +⠀⠀⢠⣿⡃⣦⢹⣿⣟⣙⣿⣿⠰⡀⣿⣇⠀⠀ +⠠⠬⣿⣿⣷⣶⣿⣿⣿⣿⣿⣿⣷⣾⣿⣿⡭⠤ +⠀⣼⣿⣿⣿⣿⠿⠛⠛⠛⠛⠻⢿⣿⣿⣿⣿⡀ +⢰⣿⣿⣿⠋⠀⠀⠀⢀⣀⠀⠀⠀⠉⢿⣿⣿⣧ +⢸⣿⣿⠃⠜⠛⠂⠀⠋⠉⠃⠐⠛⠻⠄⢿⣿⣿ +⢸⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿ +⠘⣿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⣿⡏ +⠀⠈⠻⠿⣤⣀⡀⠀⠀⠀⠀⠀⣀⣠⠾⠟⠋⠀
\ No newline at end of file diff --git a/zsh/.config/zsh/greetings/01_prompts/aww_motivation_lost b/zsh/.config/zsh/greetings/01_prompts/aww_motivation_lost new file mode 100644 index 0000000..59aeae6 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/aww_motivation_lost @@ -0,0 +1 @@ +404: motivation not found~ try again (︶︹︶) diff --git a/zsh/.config/zsh/greetings/01_prompts/bashful b/zsh/.config/zsh/greetings/01_prompts/bashful new file mode 100644 index 0000000..5a9bf7e --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/bashful @@ -0,0 +1 @@ +lil shell says hai~ (,,>﹏<,,) diff --git a/zsh/.config/zsh/greetings/01_prompts/bby b/zsh/.config/zsh/greetings/01_prompts/bby new file mode 100644 index 0000000..b0378bb --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/bby @@ -0,0 +1 @@ +welcome back bby, whatcha codin~? ◝(˶˃ ᵕ ˂˶) ◜ ♡ diff --git a/zsh/.config/zsh/greetings/01_prompts/bot b/zsh/.config/zsh/greetings/01_prompts/bot new file mode 100644 index 0000000..9f1bfe5 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/bot @@ -0,0 +1 @@ +beep boop i’m ur smol shell bot~ (≧ ◡ ≦) diff --git a/zsh/.config/zsh/greetings/01_prompts/break_stuff b/zsh/.config/zsh/greetings/01_prompts/break_stuff new file mode 100644 index 0000000..38fba6b --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/break_stuff @@ -0,0 +1 @@ +──⋆⋅☆⋅⋆── what are u gonna break today? ──⋆⋅☆⋅⋆── diff --git a/zsh/.config/zsh/greetings/01_prompts/compiling_feelings b/zsh/.config/zsh/greetings/01_prompts/compiling_feelings new file mode 100644 index 0000000..beeb049 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/compiling_feelings @@ -0,0 +1 @@ +current mood: compiling feelings... (っ´ω `)ノ(╥ ω ╥ ) diff --git a/zsh/.config/zsh/greetings/01_prompts/crashin b/zsh/.config/zsh/greetings/01_prompts/crashin new file mode 100644 index 0000000..78ce202 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/crashin @@ -0,0 +1 @@ +lowkey bashin’ and highkey crashin~ (∩^o^)⊃━☆゚.*・。゚ diff --git a/zsh/.config/zsh/greetings/01_prompts/desu b/zsh/.config/zsh/greetings/01_prompts/desu new file mode 100644 index 0000000..210ca3c --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/desu @@ -0,0 +1 @@ +terminal-chan desu~ ( ^・ω・^ ) diff --git a/zsh/.config/zsh/greetings/01_prompts/hacker_friend b/zsh/.config/zsh/greetings/01_prompts/hacker_friend new file mode 100644 index 0000000..8daadee --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/hacker_friend @@ -0,0 +1 @@ +hewwwooo hacker friend~ ( ˶ˆᗜ ˆ˵ )͜♡ ready 2 typey type? diff --git a/zsh/.config/zsh/greetings/01_prompts/hai b/zsh/.config/zsh/greetings/01_prompts/hai new file mode 100644 index 0000000..487c866 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/hai @@ -0,0 +1 @@ +ahh!! it’s you again~ kyaaa~!! (,,> ᴗ <,,) diff --git a/zsh/.config/zsh/greetings/01_prompts/input_output_love b/zsh/.config/zsh/greetings/01_prompts/input_output_love new file mode 100644 index 0000000..9d3964d --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/input_output_love @@ -0,0 +1 @@ +input accepted, output is love (´。• ω •。) ♡` diff --git a/zsh/.config/zsh/greetings/01_prompts/love_letter b/zsh/.config/zsh/greetings/01_prompts/love_letter new file mode 100644 index 0000000..b2556fe --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/love_letter @@ -0,0 +1 @@ +shell prompt... or love letter? (⸝⸝๑﹏๑⸝⸝) diff --git a/zsh/.config/zsh/greetings/01_prompts/online b/zsh/.config/zsh/greetings/01_prompts/online new file mode 100644 index 0000000..0201fde --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/online @@ -0,0 +1 @@ +system online... awaiting ur magic~ ૮ ˶ᵔ ᵕ ᵔ˶ ა diff --git a/zsh/.config/zsh/greetings/01_prompts/production b/zsh/.config/zsh/greetings/01_prompts/production new file mode 100644 index 0000000..4deab12 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/production @@ -0,0 +1 @@ +plz don't break the server... or do, whatever ( ¬ ⤙ ¬ ) diff --git a/zsh/.config/zsh/greetings/01_prompts/sammich b/zsh/.config/zsh/greetings/01_prompts/sammich new file mode 100644 index 0000000..f22df0a --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/sammich @@ -0,0 +1 @@ +sudo make me a sandwich? (・∀・) 🥪 ✧₊˚ʚ diff --git a/zsh/.config/zsh/greetings/01_prompts/shell_yeah b/zsh/.config/zsh/greetings/01_prompts/shell_yeah new file mode 100644 index 0000000..7826b64 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/shell_yeah @@ -0,0 +1 @@ +shell yeah!! let’s do some scripts~ (ノ≧ ڡ ≦) diff --git a/zsh/.config/zsh/greetings/01_prompts/time_to_hack b/zsh/.config/zsh/greetings/01_prompts/time_to_hack new file mode 100644 index 0000000..afc0cb6 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/time_to_hack @@ -0,0 +1 @@ +*clickity clack* time 2 hack~ (。•̀ᴗ-)✧ diff --git a/zsh/.config/zsh/greetings/01_prompts/typing b/zsh/.config/zsh/greetings/01_prompts/typing new file mode 100644 index 0000000..6d4c0d0 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/typing @@ -0,0 +1 @@ +typing together forever~~ (づ。◕‿‿◕。)づ diff --git a/zsh/.config/zsh/greetings/01_prompts/yeehaw b/zsh/.config/zsh/greetings/01_prompts/yeehaw new file mode 100644 index 0000000..53eb098 --- /dev/null +++ b/zsh/.config/zsh/greetings/01_prompts/yeehaw @@ -0,0 +1 @@ +rootin' and tootin' with sudo~ yeehaw~ (⌒ ▽ ⌒) ☆ diff --git a/zsh/.config/zsh/linux/init.zsh b/zsh/.config/zsh/linux/init.zsh new file mode 100755 index 0000000..49db77e --- /dev/null +++ b/zsh/.config/zsh/linux/init.zsh @@ -0,0 +1,6 @@ +#!/bin/zsh + +#-- <gpg> -- +export PINENTRY_USER_DATA="PINENTRY_USE_QT" +#-- </gpg> -- + diff --git a/zsh/.config/zsh/osx/armin.zsh b/zsh/.config/zsh/osx/armin.zsh new file mode 100755 index 0000000..cc54a2e --- /dev/null +++ b/zsh/.config/zsh/osx/armin.zsh @@ -0,0 +1,3 @@ +#!/bin/zsh + + diff --git a/zsh/.config/zsh/osx/bcd074b37296.zsh b/zsh/.config/zsh/osx/bcd074b37296.zsh new file mode 120000 index 0000000..f99643e --- /dev/null +++ b/zsh/.config/zsh/osx/bcd074b37296.zsh @@ -0,0 +1 @@ +work.zsh
\ No newline at end of file diff --git a/zsh/.config/zsh/osx/init.zsh b/zsh/.config/zsh/osx/init.zsh new file mode 100755 index 0000000..40a3d8d --- /dev/null +++ b/zsh/.config/zsh/osx/init.zsh @@ -0,0 +1,20 @@ +#!/bin/zsh + +#-- <brew> -- +# HOMEBREW_PREFIX, MANPATH, INFOPATH, etc. +eval "$(/opt/homebrew/bin/brew shellenv)" + +# use gnu coreutils +export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH" +#-- </brew> -- + +#-- <gpg> -- +export PINENTRY_USER_DATA="PINENTRY_USE_MAC" +#-- </gpg> -- + +#-- <zsh> -- +# brew install zsh-syntax-highlighting +source $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +# brew install zsh-autosuggestions +source $HOMEBREW_PREFIX/share/zsh-autosuggestions/zsh-autosuggestions.zsh +#-- </zsh> diff --git a/zsh/.config/zsh/osx/work.zsh b/zsh/.config/zsh/osx/work.zsh new file mode 100755 index 0000000..9091c91 --- /dev/null +++ b/zsh/.config/zsh/osx/work.zsh @@ -0,0 +1,32 @@ +#!/bin/zsh + +#-- <amzn> -- +# git authorship +export GIT_AUTHOR_NAME=Elizabeth Hunt +export GIT_AUTHOR_EMAIL=lizhunt@amazon.com +export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME +export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL + +# finch +export DOCKER_HOST=unix:///Applications/Finch/lima/data/finch/sock/finch.sock + +# run java repl with class path of package! :D +alias jshell='jshell --class-path "`brazil-path build.classpath`:`brazil-path run.classpath`"' + +# bb ... +alias bb=brazil-build +alias bba='brazil-build apollo-pkg' +alias bre='brazil-runtime-exec' +alias brc='brazil-recursive-cmd' +alias bws='brazil ws' +alias bwsuse='bws use --gitMode -p' +alias bwscreate='bws create -n' +alias brc=brazil-recursive-cmd +alias bbr='brc brazil-build' +alias bball='brc --allPackages' +alias bbb='brc --allPackages brazil-build' +alias bbra='bbr apollo-pkg' +alias bbcr='bb && cr' +alias brazil-recursive-cmd='brazil-recursive-cmd-parallel' +#-- </amzn> -- + diff --git a/zsh/.config/zsh/setup/aliases.zsh b/zsh/.config/zsh/setup/aliases.zsh new file mode 100755 index 0000000..73b09b3 --- /dev/null +++ b/zsh/.config/zsh/setup/aliases.zsh @@ -0,0 +1,27 @@ +#!/bin/sh + +#-- <git> -- +alias gc="git checkout" +alias gcb="git checkout -b" +alias gcm="git commit -m" +alias ga="git add" +alias gaa="git add ." +alias gpl="git pull" +alias gps="git push" +alias gr="git rebase" +alias gss="git status" +alias gsa="git stash" +alias gsr="git stash pop" +alias gl="git log --oneline" +#-- </git> -- + +#-- <misc> -- +alias fuckuctl="journalctl --user -fu" +alias fuckctl="journalctl -fu" + +alias ..="cd .." +#-- </misc> -- + +#-- <neovim> -- +alias vim="nvim" +#-- </neovim> -- diff --git a/zsh/.config/zsh/setup/device.zsh b/zsh/.config/zsh/setup/device.zsh new file mode 100755 index 0000000..d3f8c4b --- /dev/null +++ b/zsh/.config/zsh/setup/device.zsh @@ -0,0 +1,30 @@ +#!/bin/zsh + +source log.sh "setup/device.zsh" + +#-- <os_init> -- +platform="$(platform.sh)" +platform_setup="$ZDOTDIR/$platform" +init_platform="$platform_setup/init.zsh" +if [ ! -d "$platform_setup" ]; then + log ERROR "misconfigured platform $platform: $platform_setup is not a directory" + exit 1 +fi +if [ -e "$init_platform" ]; then + log DEBUG "executing $init_platform" + . "$init_platform" +else + log DEBUG "no platform-specific init for $platform at $init_platform" +fi +#-- </os_init> -- + +#-- <machine_init> -- +machine="$(system_name.sh)" +machine_init="$platform_setup/$machine.zsh" +if [ -e "$machine_init" ]; then + log DEBUG "executing $platform.$machine $machine_init" + . "$machine_init" +else + log WARN "no machine-specific init for $platform.$machine at $machine_init" +fi +#-- </machine_init> -- diff --git a/zsh/.config/zsh/setup/git.zsh b/zsh/.config/zsh/setup/git.zsh new file mode 100755 index 0000000..e88cafc --- /dev/null +++ b/zsh/.config/zsh/setup/git.zsh @@ -0,0 +1,8 @@ +#!/bin/zsh + +#-- <git> -- +export GIT_AUTHOR_NAME=Elizabeth Alexander Hunt +export GIT_AUTHOR_EMAIL=me@liz.coffee +export GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME +export GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL +#-- </git> -- diff --git a/zsh/.config/zsh/setup/gpg.zsh b/zsh/.config/zsh/setup/gpg.zsh new file mode 100755 index 0000000..171b9d8 --- /dev/null +++ b/zsh/.config/zsh/setup/gpg.zsh @@ -0,0 +1,23 @@ +#!/bin/zsh + + +# -- <gpg> -- +KEY_ID="DC4323D1738F27358793D6E87BB52F7036FA7C18" +gpg -k "$KEY_ID" >/dev/null 2>&1 || gpg --import "$HOME/Documents/pubkey" + +cp $HOME/scripts/pinentry.sh /tmp/pinentry + + +export PINENTRY_USER_DATA="${PINENTRY_USER_DATA:-PINENTRY_USE_TTY}" +if [ "$SSH_CLIENT" ]; then + export PINENTRY_USER_DATA=PINENTRY_USE_CURSES + exit 0 +fi + +# yubikey! +unset SSH_AGENT_PID +export GPG_TTY=$(tty) +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch gpg-agent +gpg-connect-agent updatestartuptty /bye > /dev/null +# -- </gpg> -- diff --git a/zsh/.config/zsh/setup/history.zsh b/zsh/.config/zsh/setup/history.zsh new file mode 100755 index 0000000..ea8ab9c --- /dev/null +++ b/zsh/.config/zsh/setup/history.zsh @@ -0,0 +1,14 @@ +#!/bin/zsh + +HISTSIZE=2000000 +SAVEHIST=$HISTSIZE +: ${HISTFILE=$ZDOTDIR/zsh_history} + +setopt EXTENDED_HISTORY # Write the history file in the ':start:elapsed;command' format. +setopt HIST_EXPIRE_DUPS_FIRST # Expire a duplicate event first when trimming history. +setopt HIST_FIND_NO_DUPS # Do not display a previously found event. +setopt HIST_IGNORE_ALL_DUPS # Delete an old recorded event if a new event is a duplicate. +setopt HIST_IGNORE_DUPS # Do not record an event that was just recorded again. +setopt HIST_IGNORE_SPACE # Do not record an event starting with a space. +setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history file. +setopt SHARE_HISTORY # Share history between all sessions. diff --git a/zsh/.config/zsh/setup/misc.zsh b/zsh/.config/zsh/setup/misc.zsh new file mode 100755 index 0000000..f301dcc --- /dev/null +++ b/zsh/.config/zsh/setup/misc.zsh @@ -0,0 +1,11 @@ +#!/bin/zsh + +backward-kill-dir () { + local WORDCHARS=${WORDCHARS/\/} + zle backward-kill-word + zle -f kill +} +zle -N backward-kill-dir +bindkey '^[^?' backward-kill-dir + +bindkey \^K kill-line diff --git a/zsh/.config/zsh/setup/tools.zsh b/zsh/.config/zsh/setup/tools.zsh new file mode 100755 index 0000000..1fc8844 --- /dev/null +++ b/zsh/.config/zsh/setup/tools.zsh @@ -0,0 +1,15 @@ +#!/bin/zsh + +#-- <mise> -- +eval "$(mise activate zsh)" +#-- </mise> -- + +#-- <zoxide> -- +eval "$(zoxide init --cmd z zsh)" +alias cd="z" +#-- </zoxide> -- + +#-- <starship> -- +eval "$(starship init zsh)" +#-- </starship> -- + |