usar nano como editor por defecto
con colores de sintaxis Squashed commit of the following: commit d4e732084d4afb2795662968d299d9117da28093 Author: f <f@sutty.nl> Date: Tue Jun 1 11:36:19 2021 -0300 usar nano como editor por defecto commit b813665512f0db86eed8e98464c843778602ab46 Author: f <f@sutty.nl> Date: Sat May 8 17:39:32 2021 -0300 editor por defecto
This commit is contained in:
parent
62b9089129
commit
35f4c08095
2 changed files with 6 additions and 0 deletions
4
haini.sh
4
haini.sh
|
@ -33,6 +33,7 @@ correr() {
|
|||
HAIN_ENV=true \
|
||||
RAILS_ENV="${RAILS_ENV:-development}" \
|
||||
JEKYLL_ENV="${JEKYLL_ENV:-development}" \
|
||||
EDITOR="nano" \
|
||||
bwrap \
|
||||
--unshare-user-try \
|
||||
--unshare-ipc \
|
||||
|
@ -91,6 +92,9 @@ crear_entorno() {
|
|||
install -dm 755 "$ENTORNO/run/nginx"
|
||||
# Instalar la configuración
|
||||
install -m 640 "$DIR/nginx.conf" "$ENTORNO/etc/nginx/http.d/default.conf"
|
||||
|
||||
# Resaltado de sintaxis en nano
|
||||
grep -q "^include " "$ENTORNO/etc/nanorc" || echo "include \"/usr/share/nano/*.nanorc\"" >> "$ENTORNO/etc/nanorc"
|
||||
}
|
||||
|
||||
crear_entorno
|
||||
|
|
2
packages
2
packages
|
@ -8,6 +8,8 @@ libssh2
|
|||
libxml2
|
||||
libxslt
|
||||
make
|
||||
nano
|
||||
nano-syntax
|
||||
ncurses-terminfo
|
||||
nginx
|
||||
nodejs
|
||||
|
|
Loading…
Reference in a new issue