Commit c761f944 authored by Wild Kat's avatar Wild Kat Committed by Bruno Pinto

Added documentation link for ssh helper plugin and further cleanup

parent ad63831b
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
* __rbenv__ – [rbenv](https://github.com/sstephenson/rbenv) Ruby environment/version manager. * __rbenv__ – [rbenv](https://github.com/sstephenson/rbenv) Ruby environment/version manager.
* __replace__ – A port of [replace](https://github.com/thoughtbot/dotfiles/blob/master/bin/replace). * __replace__ – A port of [replace](https://github.com/thoughtbot/dotfiles/blob/master/bin/replace).
* __rvm__ – [RVM](http://rvm.io) Ruby version manager. * __rvm__ – [RVM](http://rvm.io) Ruby version manager.
* __ssh__ – ssh conservative $TERM value helper.
* __sublime__ – Creates `subl` command line shortcut to launch [Sublime Text editor](http://sublimetext.com/). * __sublime__ – Creates `subl` command line shortcut to launch [Sublime Text editor](http://sublimetext.com/).
* __tmux__ – Plugin to start tmux with support for 256 colours. * __tmux__ – Plugin to start tmux with support for 256 colours.
* __vi-mode__ – Basic vi key bindings emulation for fish. * __vi-mode__ – Basic vi key bindings emulation for fish.
......
## ssh conservative $TERM value helper plugin ## ssh conservative $TERM value helper
Due to inconsistency of 256 color terminal support across Due to inconsistency of 256 color terminal support across
terminal applications, it may be desirable to force the terminal applications, it may be desirable to force the
......
function ssh --description 'OpenSSH SSH client (remote login program) with a conservative $TERM value' function ssh --description 'OpenSSH SSH client (remote login program) with a conservative $TERM value'
switch $TERM switch $TERM
case screen-256color case screen-256color
set -l -x TERM screen set -lx TERM screen
command ssh $argv command ssh $argv
case xterm-256color case xterm-256color
set -l -x TERM xterm set -lx TERM xterm
command ssh $argv command ssh $argv
case '*' case '*'
command ssh $argv command ssh $argv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment