-
Notifications
You must be signed in to change notification settings - Fork 3
/
rcrc
27 lines (25 loc) · 839 Bytes
/
rcrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
h=$HOME
if (!~ penguin `hostname ) {
eval 'PATH='`{cat $HOME/.bashrc | grep PATH | cut -d'=' -f2 | head -n 1}
}
pathprefixes=$h/bin:$h/.config/guix/current/bin:$h/.guix-profile/bin:$h/.guix-profile/sbin
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
history=$h/.rc_history
SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
which ssh-askpass >/dev/null >[2=1]
if (~ $status 0) {
SUDO_ASKPASS=`{which ssh-askpass}
}
GUILE_LOAD_PATH=$HOME/scm:$GUILE_LOAD_PATH
fn read {
x=() {
x=``($nl){ gawk '{print; print 0; exit}'^$nl^'END {print 1; print 1}' }
echo x '=' $x
$1 = $x(1)
return $x(2)
}
}
ANDROID_HOME=$h/opt/androidsdk
optpaths=$h/opt/flutter/bin:$h/opt/androidsdk/cmdline-tools/latest/bin:$h/opt/androidsdk/emulator:$opt/androidsdk/platform-tools
CHROME_EXECUTABLE=$h/bin/chrome
PATH=$pathprefixes^':'^$optpaths^':'^$PATH