-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified paths to work on xdg-config-dirs, complying with xdg standard #417
Conversation
…y with xdg standards" This reverts commit 6b4617f.
…to comply with xdg standards"" This reverts the reverted commit because I am literally figuring out how to use git right now.
Anyway, this removes a line because nano kept spitting an error saying "Normal has no prefix" or something
@@ -23,7 +23,6 @@ icolor brightblue " brightblue" | |||
icolor brightmagenta " brightmagenta" | |||
icolor brightcyan " brightcyan" | |||
icolor brightwhite " brightwhite" | |||
icolor brightnormal " brightnormal" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already submitted in: #391
I think we should separate different PR for different issues.
} | ||
|
||
_update_nanorc_lite(){ | ||
sed -i '/include "\/usr\/share\/nano\/\*\.nanorc"/i include "~\/.nano\/*.nanorc"' "${NANORC_FILE}" | ||
sed -i '/include "\/usr\/share\/nano\/\*\.nanorc"/i include "~\/.conig.\/nano\/*.nanorc"' "${NANORC_FILE}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, plus there is extra dot after config
} | ||
|
||
NANORC_FILE=~/.nanorc | ||
NANORC_FILE=~/.config\/nano\/nanorc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it is correct to change this to ~/.config/nano/nanorc
. Here, it is referencing the nano rcfile under home, which is the default rcfile path. The same issue with line 21.
As the pull request title says, just changes the paths.
Also fixes one error on nano blaming line 26 of nanorc.nanorc
Hope it helps. Literally my first PR