Package Details: nano-syntax-highlighting-git 2019.10.17.r8.g6bee1b2-1

Git Clone URL: https://aur.archlinux.org/nano-syntax-highlighting-git.git (read-only, click to copy)
Package Base: nano-syntax-highlighting-git
Description: improved nano syntax highlighting files
Upstream URL: https://github.com/scopatz/nanorc
Licenses: GPL3
Conflicts: nano-syntax-highlighting
Provides: nano-syntax-highlighting
Submitter: American_Jesus
Maintainer: WSDMatty
Last Packager: WSDMatty
Votes: 121
Popularity: 0.009946
First Submitted: 2011-10-10 16:17 (UTC)
Last Updated: 2019-10-19 03:57 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

WSDMatty commented on 2019-10-19 03:57 (UTC)

Cleaned up PKGBUILD. Updated [package] to latest version

Got rid of custom variable.
Enclosed all variables in quotes.
Changed PKGVER function to use upstream versioning scheme

Throne3d commented on 2017-10-24 14:14 (UTC)

Isn't this a git package that installs direct from the source? (It looks like it *has* been updated since, but only to bump the package version, and it was flagged out of date a while ago but still installed from source, so… I don't think anything's changed?)

cjmick commented on 2017-10-23 02:22 (UTC)

Please update, this is out of date

gc1 commented on 2016-07-03 21:39 (UTC)

The end of the last line in the install file seems to have a typo, it should be ~/.nanorc

saildata commented on 2016-07-02 17:57 (UTC) (edited on 2016-07-02 18:09 (UTC) by saildata)

For nano, version 2.6.1, the .install file suggestion, `echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> nanorc"` may not be clear to new users when highlighting isn't enabled. Nano uses either the system-wide /etc/nanorc (see man nanorc) or the user-specific ~/.nanorc. So this would only work if the line was added to the system-wide /etc/nanorc. I would suggest changing the .install file to `echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> ~/.nanorc"` so that highlighting is enabled. NOTE: add the line to /etc/nanorc to enable for sudo commands as well

American_Jesus commented on 2016-03-03 23:16 (UTC)

added a simpler way to install $ echo "include /usr/share/nano-syntax-highlighting/*.nanorc" >> nanorc for those upgrading remove previous "include /usr/share/nano-syntax-highlighting/NAME.nanorc" or just add "include /usr/share/nano-syntax-highlighting/*.nanorc" to your nanorc

commented on 2014-12-07 03:53 (UTC)

Note that the zsh nanorc file is now named 'zsh.nanorc' and not 'zshrc.nanorc'

commented on 2014-06-12 20:06 (UTC)

Hello, got a small update to 88.e81bb08 with the main purpose of updating nanorc.sample to list all files to date + fix a name/desc of one or two and the license. srcpkg: https://www.dropbox.com/s/mqe3dv5ilgghghq/nano-syntax-highlighting-git-88.e81bb08-1.src.tar.gz diff: https://gist.github.com/raw/475aec1f2a6c1c007e3f http://dpaste.com/1N2CDG1 [MIRROR] http://bpaste.net/raw/366753/ [MIRROR]

Diego commented on 2013-06-14 21:45 (UTC)

new syntax PKGBUILD with automatic package version based on git commits ******************************************************************** _pkgname=nano-syntax-highlighting pkgname=$_pkgname-git pkgver=65.4fddd06 pkgrel=1 pkgdesc="Nano editor syntax highlighting enhancements" arch=('i686' 'x86_64') depends=('nano') makedepends=('git') url="https://github.com/scopatz/nanorc" license=('custom') install=nano-syntax-highlighting.install provides=('nano-syntax-highlighting') conflicts=('nano-syntax-highlighting') source=('git://github.com/scopatz/nanorc.git' 'nanorc.sample') md5sums=('SKIP' '6f51b44a0f5bcfb3184a5575c01cae99') pkgver() { cd $srcdir/nanorc echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { cd $srcdir mkdir -p $pkgdir/usr/share/$_pkgname find $srcdir/nanorc/ -name '*.nanorc' | xargs install -D -m644 -t $pkgdir/usr/share/$_pkgname/ install -D -m644 $srcdir/nanorc.sample $pkgdir/usr/share/$_pkgname/nanorc.sample }