/devenv

Customizations to shell(bash,zsh), vim, and tmux for better productivity and ease of usage

Primary LanguageShell

Devenv

Customized Development environment for linux

  1. shell (bash and zsh) bashhelp.md
  2. tmux tmuxhelp.md
  3. vim/nvim vimhelp.md
  4. Some default tools and packages for developers

Installation

Clone this repo to your home directory on any linux host.

cd
git clone https://github.com/sriramkandukuri/devenv.git

Prerequisite for Ubuntu 18-04 only

Install nodejs version 10 as mentioned in https://joshtronic.com/2018/05/08/how-to-install-nodejs-10-on-ubuntu-1804-lts/

Installation

Use ./install.sh help for instructions.

To install everything use ./install.sh all

Add below line to your bashrc to enable all bash custom commands

. ~/devenv/shell/bash/devenv_bashrc

or command

echo ". ~/devenv/shell/bash/devenv_bashrc" >> ~/.bashrc

If powerline fonts are not needed use below command

echo "export USE_PWR_FONTS=0" >> ~/.bashrc

Reload your shell or start new shell.

Main help commands bhelp <keyword> vhelp <keyword> tmhelp <keyword>

Vim

Please refer to vimhelp.md for available custom shortcuts in addition to original vim/nvim keyboard shortcuts

Usefull cheat sheets

Tmux

  • Using Tmux config from gpakosz
  • Customized config from (tmux/tmux.conf)

Refer to tmuxhelp.md for available custom shortcuts.

Bashrc

Fully customised bashrc with better prompt line and several helper functions. Refer to bashhelp.md for all shortcuts available.

Terminal

Working terminal emulators on Windows

Git bash

Secure Shell App a Chrome application which works very smooth.

  • Unwanted horizontal lines in tmux

Terminus on windows with Dracula color theme. This has some minor issues.

For linux any terminal emulator should work

Fonts

For best experience with icons its suggested to install patched fonts.

On Windows

Note

Tested with terminus, gitbash and chrome secure shell on windows with ubuntu (20.04 and 21.10) remote server. Please report issue if you face any

Contribution

Goal is to use single script maintain all the development environment on any linux host

You are welcome for contributions

Other resources