Skip to content

tabletenniser/dotfiles

Repository files navigation

dotfiles

Steps to install vim plugin:

  1. cd ~
  2. run: git clone git@github.com:tabletenniser/dotfiles.git
    For read only repo, use ssh: git clone https://github.com/tabletenniser/dotfiles.git
  3. Install Vundle: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  4. ln -s ~/dotfiles/.vimrc ~/.vimrc
  5. vim ~/.vimrc
  6. :PluginInstall

NOTE: To install vim with +lua and +python3 support:

Steps to set up shell welcome screen:

  1. sudo ln -s ~/dotfiles/motd.sh /etc/profile.d/
  2. Check /etc/ssh/sshd_config file to ensure all .sh files under /etc/profile.d folder gets executed.

Steps to set up .bashrc, .bashprofile, .gitconfig, .dircolors:

  1. ln -s ~/dotfiles/.bashrc ~/.bashrc
  2. ln -s ~/dotfiles/.bash_profile ~/.bash_profile
  3. ln -s ~/dotfiles/.gitconfig ~/.gitconfig
  4. ln -s ~/dotfiles/.gitignore ~/.gitignore
  5. ln -s ~/dotfiles/config.fish ~/.config/fish/config.fish
  6. ln -s ~/dotfiles/.dircolors ~/.dircolors

Steps to set up tmux:

  1. Install TPM (Tmux Plugin Manager): git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  2. ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf
  3. ln -s ~/dotfiles/ssh-tmux /usr/local/bin/ssh-tmux
  4. Open tmux and do "ctrl-A + I" to fetch and install all plugins

Steps to set up fish:

  1. apt-get install fish
  2. mkdir -p ~/.config/fish
  3. curl -L https://get.oh-my.fish | fish
  4. omf install agnoster bobthefish fishbone
  5. cp ~/.local/share/omf/themes/fishbone/fish_greeting.fish ~/.local/share/omf/themes/agnoster/
  6. omf theme agnoster
  7. chsh -s which fish

NOTE:

  1. agnoster requires power line font to work (see ~/.local/share/omf/themes/agnoster/fish_prompt.fish), which can be installed from https://gist.github.com/1595572. Also require terminal setting (In iterm2, profile --> text --> Non ASCII key font) to use the powerline font installed.
  2. Enable ctrl+R in fish (installation of fzf): brew install fzf and $(brew --prefix)/opt/fzf/install
    git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf; and ~/.fzf/install
    (Note: apt-get install fzf will not enable ctrl-R keybinding by default.)
    To use it in vim, add the following to .vimrc: set rtp+=/usr/local/opt/fzf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published