Skip to content

fokot/dotfiles

Repository files navigation

Now I'm using zsh and oh-my-zsh.

  • Install via
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  • Then edit your ~/.zshrc and set ZSH_THEME="powerlevel10k/powerlevel10k".

  • To configure run p10k configure or vim ~/.p10k.zsh

  • Copy and add run_ranger to .zshrc. To change ranger color run ranger --copy-config=all go to ~/.config/ranger/rc.conf and change colorscheme to snow.

Install homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Add to .zshrc

export PATH=/opt/homebrew/bin:$PATH

Install sdkman

brew tap sdkman/tap
brew install sdkman-cli

Add to .zshrc

export SDKMAN_DIR=$(brew --prefix sdkman-cli)/libexec
[[ -s "${SDKMAN_DIR}/bin/sdkman-init.sh" ]] && source "${SDKMAN_DIR}/bin/sdkman-init.sh"

Install java or other sdk like

sdk list java
sdk install java <name>
# choose version with
sdk use java <name>

Install nvm

brew install nvm

and add this to ~/.zshrc:

source $(brew --prefix nvm)/nvm.sh

fzf

brew install fzf
# To install useful key bindings and fuzzy completion:
$(brew --prefix)/opt/fzf/install

install raycast

gpg

brew install gpg2

To test gpg

echo "test" | gpg --clearsign

If needed install and configure pinentry-mac too.

When I was using bash-it.

I enabled there competions bash-it show completion | grep '\[x\]'

bash-it               [x]     
dirs                  [x]     
docker                [x]     
git                   [x]     
git_flow              [x]     
ssh                   [x]     
system                [x]

So

  • .bash_profile is not needed anymore
  • .bash-it/aliases/custom.aliases.bash is used for my own aliases instead
  • .profile is still needed for variables

thefuck

And these are the configuration files to it. I have also enabled thefuck bash alias, git, git-flow and dirs completitions which are parts of bash-it.

Put the files in correct bash-it folders.

lrwrap

rlwrap is amazing extension what fixes problem with pressing arrows in some shells. It can be added to a shell like this alias lein="rlwrap lein"

k9s is great tool for K8s

psql

Without postgres db

brew install libpq
brew link --force libpq

About

My dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages