zsh configs

This commit is contained in:
2024-12-20 23:14:45 +03:00
parent f5d508b970
commit 02f2a0b535
4 changed files with 160 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "homebrew/cask-fonts"
brew "bash"
brew "bash-completion@2"
brew "cmake"
brew "curl"
brew "eza"
brew "flux"
brew "fzf"
brew "git"
brew "gnupg"
brew "go"
brew "htop"
brew "hyperfine"
brew "jq"
brew "mas"
brew "mkvtoolnix"
brew "moreutils"
brew "neovim"
brew "node"
brew "openssh"
brew "openssl"
brew "ripgrep"
brew "rust"
brew "stow"
brew "the_silver_searcher"
brew "tmux"
brew "tmuxp"
brew "wget"
cask "1password"
cask "alacritty"
cask "appcleaner"
cask "discord"
cask "font-fira-code-nerd-font"
cask "font-hack-nerd-font"
cask "gpg-suite"
cask "jetbrains-toolbox"
cask "keka"
cask "megasync"
cask "mimestream"
cask "monodraw"
cask "netnewswire"
cask "paintbrush"
cask "qbittorrent"
cask "raycast"
cask "rectangle"
cask "steam"
cask "visual-studio-code"
cask "vorta"
cask "yacreader"
cask "xld"
cask "zotero"
mas "Bear", id: 1091189122
mas "Tailscale", id: 1475387142
mas "Things", id: 904280696
mas "Xcode", id: 497799835
+61
View File
@@ -0,0 +1,61 @@
[core]
editor = nvim
excludesFile = ~/.gitignore
fsmonitor = true
pager = delta
[init]
defaultBranch = main
[user]
name = Ian Andwati
email = [email protected]
[github]
user = andwati
[gpg]
program = gpg2
[credential]
helper = osxkeychain
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[branch]
autosetuprebase = always
[commit]
gpgsign = true
[push]
default = tracking
autoSetupRemote = true
[pull]
ff = only
[merge]
conflictstyle = zdiff3
[rebase]
autosquash = true
[diff]
algorithm = histogram
[interactive]
diffFilter = delta --color-only
[help]
autocorrect = prompt
[maintenance]
repo = $HOME/Projects/Foreign/zig
[fetch]
writeCommitGraph = true
+1
View File
@@ -0,0 +1 @@
+37
View File
@@ -0,0 +1,37 @@
# Use powerline
USE_POWERLINE="true"
# Has weird character width
# Example:
#  is not a diamond
HAS_WIDECHARS="false"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
source /usr/share/zsh/manjaro-zsh-prompt
fi
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
source /usr/share/nvm/init-nvm.sh
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/ian/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/ian/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/ian/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/ian/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"