Klik gambar untuk memperbesar |
Kali ini ane mau share bagaimana cara mempercantik tampilan editor nano dengan cara mengaktifkan fitur colornya :D
lansung aja
1. Buka terminal kesayangan Anda
2. Ketikkan perintah berikut di terminal
nano /etc/nanorcCari baris berikut dan hilangkan tanda pagar "#" di depannya sehingga terlihat seperti di bawah:
## Nanorc filesSimpan dan coba buka kembali contoh script yang ada di lepi Anda :p
include "/usr/share/nano/nanorc.nanorc"
## C/C++
include "/usr/share/nano/c.nanorc"
## Makefiles
include "/usr/share/nano/makefile.nanorc"
## Cascading Style Sheets
include "/usr/share/nano/css.nanorc"
## Debian files
include "/usr/share/nano/debian.nanorc"
## Gentoo files
include "/usr/share/nano/gentoo.nanorc"
## HTML
include "/usr/share/nano/html.nanorc"
## PHP
include "/usr/share/nano/php.nanorc"
## TCL
include "/usr/share/nano/tcl.nanorc"
## TeX
include "/usr/share/nano/tex.nanorc"
## Quoted emails (under e.g. mutt)
include "/usr/share/nano/mutt.nanorc"
## Patch files
include "/usr/share/nano/patch.nanorc"
## Manpages
include "/usr/share/nano/man.nanorc"
## Groff
include "/usr/share/nano/groff.nanorc"
## Perl
include "/usr/share/nano/perl.nanorc"
## Python
include "/usr/share/nano/python.nanorc"
## Ruby
include "/usr/share/nano/ruby.nanorc"
## Java
include "/usr/share/nano/java.nanorc"
## Fortran
include "/usr/share/nano/fortran.nanorc"
## Objective-C
include "/usr/share/nano/objc.nanorc"
## OCaml
include "/usr/share/nano/ocaml.nanorc"
## AWK
include "/usr/share/nano/awk.nanorc"
## Assembler
include "/usr/share/nano/asm.nanorc"
## Bourne shell scripts
include "/usr/share/nano/sh.nanorc"
## POV-Ray
include "/usr/share/nano/pov.nanorc"
## XML-type files
include "/usr/share/nano/xml.nanorc"
Sekian tutor singkat dari Daeng Linux dan sampai jumpa lagi :)
0 comments:
Post a Comment