Skip to content

savagesmc/linux_config

 
 

Repository files navigation

LINUX CONFIGURATION FOR IMPROVED SHELL EXPERIENCE

This repository is a set of scripts/utilities to improve your productivity at a nix-like terminal.

In particular it provides several ease-of-use wrappers around (and plugins for) the following tools:

Supported platforms

  • Linux (all relatively recent distributions)
  • Cygwin
  • MacOS-X (use iTerm2). You may want to remap the Fn and Ctrl keys if you are like me and are annoyed how Apple insists on being different. Karabiner-Elements seems to work well.
  • WSL

Installing

Prerequisites

The required prerequisite packages are

Common:

   zsh
   neovim
   tmux
   git
   bc

Optionally you can install

  • autojump for a fuzzy MRU directory finder.

If you would like copy/paste integration with the system clipboard you will need

Ubuntu Linux

   xsel
   wl-clipboard # wayland clipboard

Cygwin

   xinit
   xclip
   xclipboard
   cygutils-extra

MacOS-X

   pbcopy/pbpaste

WSL

Need to copy paste.exe to C:\Windows\System32\paste.exe.

Install

Simply clone the repository and install

git clone https://github.com/rjmccabe3701/linux_config.git
linux_config/install.sh [/path/to/custom_config]

Uninstalling

Run the uninstall script:

linux_config/uninstall.sh

Customizing

User-specific customization is allowed. Please refer to CUSTOM_CONFIG for details (and examples) of how to set that up. See my linux_config_custom repository for a real-world example.

Xserver setup

(this is only applicable for ssh-ing into a machine with linux_config installed).

VcXsrv seems to work quite well.

I've also had good luck with the cygwin xserver (while Xming works, the clipboard integration is flaky). Just do this in a cygwin terminal:

/usr/bin/XWin -listen tcp -multiwindow

Re-attaching to tmux session

You will need to update your DISPLAY env variable. To do this inside vim do

let $DISPLAY = 'localhost:11.0'

where localhost:11.0 is determined by opening a new terminal and typing echo $DISPLAY

About

Tmux/Vim configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%