Skip to content

shiroyasha/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Simple, no bullshit, dotfiles.

Nice colors (256 color based)

  • Branch status indicator
  • Exit status indicator
  • Directory name indicator
  • Branch name indicator

Shiroyasha dotfiles screenshot

Simple tmux based splits

Creating splits and windows:

  • Alt + w: new window
  • Alt + s: new vertical split
  • Alt + S: new horizontal split

Movement:

  • Alt + hjkl: split movement
  • Alt + u: Move to window on the left
  • Alt + i: Move to window on the right

Resizing:

  • Alt + <: Resize panel to left
  • Alt + >: Resize panel to right

Shiroyasha dotfiles screenshot

Installation

git clone https://github.com/shiroyasha/dotfiles ~/dotfiles

cd ~/dotfiles

./install

For vim setup visit:

https://github.com/shiroyasha/neovimfiles

Installing neovim

sudo apt-get install ninja-build gettext cmake unzip curl

cd /tmp
git clone https://github.com/neovim/neovim
cd neovim
git checkout v0.9.1
sudo make install

Takes around 60 secs to build and install.

Installing languages

ASDF:

git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0

Node:

sudo apt-get install build-essential

asdf plugin add nodejs
asdf list all nodejs
asdf install nodejs 20.5.1
asdf global nodejs 20.5.1

Ruby:

sudo apt-get install libz-dev
sudo apt-get install libyaml-dev

asdf plugin add ruby
asdf list all ruby | grep "3.2.0"
asdf install ruby 3.2.0
asdf global ruby 3.2.0

gem install bundler
gem update --system 3.4.18

Export and import GPG keys

gpg --list-keys
gpg --export-private-key -i <id> > private.key
gpg --import private.key

Forward GPG key over SSH

Find paths on remote:

gpgconf --list-dirs agent-extra-socket

Find paths on local:

gpgconf --list-dirs agent-socket

Configure forwarding in ~/.ssh/config on the local machine:

Host remote
  RemoteForward <remote socket> <local socket>

Copy the public key to the remote:

scp .gnupg/pubring.kbx <REMOTE>:~/.gnupg/

On remote, active the agent:

echo use-agent >> ~/.gnupg/gpg.conf
echo "extra-socket $HOME/.gnupg/S.gpg-agent.extra" >> ~/.gnupg/gpg.conf

On remote, modify the server:

StreamLocalBindUnlink yes

On remote, disable gpg-agent startup:

sudo systemctl --global mask gpg-agent.service gpg-agent.socket gpg-agent-ssh.socket gpg-agent-extra.socket gpg-agent-browser.socket
killall gpg-agent

Restart SSH server:

sudo service ssh restart

About

Collection of dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published