solarized Dark Themes
- <color>
- [Solarized Dark]
- Text (bold) =839496
- Magenta (bold) =6c71c4
- text=839496
- White (bold) =fdf6e3
- green=859900
- Red (bold) =cb4b16
- Green (bold) =586e75
- Black (bold) =073642
- red=dc322f
- Blue=268bd2
- Black=002b36
- Blue (bold) =839496
- Yellow (bold) =657b83
- Cyan (bold) =93A1A1
- yellow=b58900
- magenta=dd3682
- background=042028
- White=eee8d5
- cyan=2aa198
- [Names]
- Count=1
- Name0=solarized Dark
Save as Soloarizedcolor.xcs.
Tools-->color Schemes-->import just that file in Xshell. Then you modify the value of the ls_colors variable for the system:
- echo "ls_colors= ' no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar= 00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*. z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00 ; 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: '">>/ETC/BASHRC
- Source/etc/bashrc
If you do not want to modify/ETC/BASHRC, you can customize the ls_colors for each user, which is all set to the default value.
such as script: Soloarizedcolor.sh
- #!/bin/bash
- Get_user ()
- {
- User= ' awk-f: ' $ >= $ {print $ '/etc/passwd '
- For u in $user
- Do
- If [-D "/home/$u"]; Then
- Echo $u
- Fi
- Done
- echo Root
- }
- Get_dir ()
- {
- For u in [email protected]
- Do
- if [$u = = "root"]; Then
- echo "/root"
- Else
- echo "/home/$u"
- Fi
- Done
- }
- User= ' Get_user '
- Dir= ' Get_dir $user '
- For-D in $dir
- Do
- echo "Ls_colors= ' no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;0 5;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00; 31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*. z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00 ; 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: ">>" $d/.BASHRC "
- Done
- SOURCE ~/.BASHRC
Do your own Xshell solarized dark theme