We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4cd139f commit 27569e4Copy full SHA for 27569e4
bashrc-android.bash
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env bash
2
+
3
+# put your script here for Android/Termux only
4
5
+if uname -a | grep android &> /dev/null; then
6
+ export ANDROID=true
7
+else
8
+ export ANDROID=false
9
+fi
10
11
+if ! $ANDROID; then return; fi
bashrc-wsl.bash
@@ -2,11 +2,6 @@
# put your script here for WSL only
-if uname -a | grep android &> /dev/null; then
- export ANDROID=true
-else
- export ANDROID=false
-fi
if grep '[Mm]icrosoft' /proc/version &> /dev/null; then
export WSL=true
12
else
0 commit comments