File tree Expand file tree Collapse file tree 3 files changed +50
-3
lines changed Expand file tree Collapse file tree 3 files changed +50
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export TERM=xterm-256color
9
9
alias ls="ls --color=auto"
10
10
alias clear='printf "\e[2J\e[H"'
11
11
12
- export PYTHONHOME=" /usr/lib"
13
-
14
12
# todo: https://github.com/sharkdp/bat/blob/master/src/bin/bat/directories.rs panics if not set?
15
13
export BAT_CONFIG_DIR="/cfg/bat"
16
14
export BAT_CACHE_PATH="/cache/bat"
Original file line number Diff line number Diff line change
1
+ # /etc/profile
2
+
3
+ # This file was copied from my host Arch Linux installation. Credits to them :)
4
+
5
+ # Append "$1" to $PATH when not already in.
6
+ # This function API is accessible to scripts in /etc/profile.d
7
+ append_path () {
8
+ case " :$PATH :" in
9
+ * :" $1 " :* )
10
+ ;;
11
+ * )
12
+ PATH=" ${PATH: +$PATH : } $1 "
13
+ esac
14
+ }
15
+
16
+ # Append our default paths
17
+ append_path ' /usr/local/sbin'
18
+ append_path ' /usr/local/bin'
19
+ append_path ' /usr/bin'
20
+
21
+ # Force PATH to be environment
22
+ export PATH
23
+
24
+ # Load profiles from /etc/profile.d
25
+ if test -d /etc/profile.d/; then
26
+ for profile in /etc/profile.d/* .sh; do
27
+ test -r " $profile " && . " $profile "
28
+ done
29
+ unset profile
30
+ fi
31
+
32
+ # Unload our profile API functions
33
+ unset -f append_path
34
+
35
+ # Source global bash config, when interactive but not posix or sh mode
36
+ if test " $BASH " && \
37
+ test " $PS1 " && \
38
+ test -z " $POSIXLY_CORRECT " && \
39
+ test " ${0# -} " ! = sh && \
40
+ test -r /etc/bash.bashrc
41
+ then
42
+ . /etc/bash.bashrc
43
+ fi
44
+
45
+ # Termcap is outdated, old, and crusty, kill it.
46
+ unset TERMCAP
47
+
48
+ # Man is much better than us at figuring this out
49
+ unset MANPATH
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ impl AcpiTable {
86
86
}
87
87
}
88
88
89
- #[ repr( packed) ]
89
+ #[ repr( C , packed) ]
90
90
#[ derive( Clone , Copy , Debug ) ]
91
91
pub struct GenericAddressStructure {
92
92
pub address_space : u8 ,
You can’t perform that action at this time.
0 commit comments