]> git.armaanb.net Git - config.org.git/blobdiff - config.org
ash: put jupyter and ipython in XDG base dirs
[config.org.git] / config.org
index bd1411261c15f39579fe5b94663e8f0c28433cbf..a3dde7be41328bd80ae469059a214509e594bfde 100644 (file)
@@ -889,9 +889,11 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 **** General program configs
 #+begin_src shell :tangle ~/.config/ash/ashrc
   export GPG_TTY="$(tty)"
-  export GNUPGHOME="~/.local/share/gnupg"
 
-  export GOPATH="~/.local/share/go"
+  export GNUPGHOME="$HOME/.local/share/gnupg"
+  export GOPATH="$HOME/.local/share/go"
+  export JUPYTER_CONFIG_DIR="$HOME/.config/jupyter"
+  export IPYTHON_DIR="$HOME/.local/share/ipython"
 
   export PAGER='less'
   export GTK_USE_PORTAL=1
@@ -930,8 +932,10 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac
 #+end_src
 **** Compilation flags
 #+begin_src shell :tangle ~/.config/ash/ashrc
+  export CC=clang
   export CFLAGS="-O3 -pipe -march=native"
-  export CXXFLAGS="$CFLAGS"
+  export CXX=clang++
+  export CXXFLAGS="$CFLAGS -stdlib=libc++"
   export MAKEFLAGS="-j$(nproc)"
   export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
 #+end_src