Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
6bf7f945
Commit
6bf7f945
authored
May 21, 2018
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc: Remove all instances of export. They're pointless.
parent
4895ed33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
neofetch
neofetch
+6
-12
No files found.
neofetch
View file @
6bf7f945
...
@@ -26,27 +26,21 @@
...
@@ -26,27 +26,21 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# SOFTWARE.
# Neofetch version.
version="4.0.3"
version="4.0.3"
bash_version="${BASH_VERSION/.*}"
bash_version="${BASH_VERSION/.*}"
sys_locale="${LANG:-C}"
sys_locale="${LANG:-C}"
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
PATH="/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:${PATH}"
# Speed up script by not using unicode.
# Speed up script by not using unicode.
export LC_ALL=C
LC_ALL=C
export LANG=C
LANG=C
# Add more paths to $PATH.
export PATH="/usr/xpg4/bin:/usr/sbin:/sbin:/usr/etc:/usr/libexec:${PATH}"
# Fix issues with gsettings.
# Fix issues with gsettings.
export
GIO_EXTRA_MODULES="/usr/lib/x86_64-linux-gnu/gio/modules/"
GIO_EXTRA_MODULES="/usr/lib/x86_64-linux-gnu/gio/modules/"
# Set no case match.
shopt -s nocasematch
shopt -s nocasematch
# Reset colors and bold.
reset="\e[0m"
reset="\e[0m"
# Neofetch default config.
# Neofetch default config.
...
@@ -3495,7 +3489,7 @@ get_ascii() {
...
@@ -3495,7 +3489,7 @@ get_ascii() {
fi
fi
# Set locale to get correct padding.
# Set locale to get correct padding.
export
LC_ALL="$sys_locale"
LC_ALL="$sys_locale"
# Turn file into variable.
# Turn file into variable.
while IFS=$'\n' read -r line; do
while IFS=$'\n' read -r line; do
...
@@ -3524,7 +3518,7 @@ get_ascii() {
...
@@ -3524,7 +3518,7 @@ get_ascii() {
text_padding="$((ascii_length + gap))"
text_padding="$((ascii_length + gap))"
printf "%b" "$print"
printf "%b" "$print"
export
LC_ALL=C
LC_ALL=C
}
}
get_image_source() {
get_image_source() {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment