aboutsummaryrefslogtreecommitdiffstats
path: root/bash
diff options
context:
space:
mode:
authorjason2020-11-25 11:09:45 -0700
committerjason2020-11-25 11:09:45 -0700
commit2458059608e817c1ee9b22891da71374043ecc10 (patch)
tree57dfd98a1d809a25ca60740ba1589f9464279037 /bash
parent446c0865bfeddd8a631eeddf5ddd8332d794f8e9 (diff)
downloaddotfiles-2458059608e817c1ee9b22891da71374043ecc10.tar.gz
dotfiles-2458059608e817c1ee9b22891da71374043ecc10.zip
update bashrc with paths for android studio, rust, nix, and system bash completions
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc27
1 files changed, 25 insertions, 2 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index f89a928..73a2b8c 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -6,12 +6,35 @@ if [ -d $HOME/bin/flutter/ ]; then
6 PATH="${HOME}/bin/flutter/bin:${PATH}" 6 PATH="${HOME}/bin/flutter/bin:${PATH}"
7fi 7fi
8 8
9# Enable android studio
10if [ -d $HOME/bin/android-studio/bin ]; then
11 PATH="${HOME}/bin/android-studio/bin:${PATH}"
12fi
13
14# Enable rust and cargo
15if [ -x $HOME/.cargo/bin/cargo ]; then
16 PATH="${HOME}/.cargo/bin:${PATH}"
17fi
18
19# Enable nix
20if [ -f $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
21 source $HOME/.nix-profile/etc/profile.d/nix.sh
22fi
23
24# Enable system bash completions
25if [ -f /etc/bash_completion ]; then
26 . /etc/bash_completion
27fi
28
29
9TERM="xterm-256color" 30TERM="xterm-256color"
10 31
11# direnv's use_nix will overwrite TMPDIR so it needs to be hard coded to /tmp/ 32# direnv's use_nix will overwrite TMPDIR so it needs to be hard coded to /tmp/
33#EMACS_SERVER_SOCKET="/tmp/emacs$(id -u)/server"
12#EMACS_SERVER_SOCKET="${TMPDIR:-/tmp}/emacs$(id -u)/server" 34#EMACS_SERVER_SOCKET="${TMPDIR:-/tmp}/emacs$(id -u)/server"
13EMACS_SERVER_SOCKET="/tmp/emacs$(id -u)/server" 35#EDITOR="emacsclient -s ${EMACS_SERVER_SOCKET}"
14EDITOR="emacsclient -s ${EMACS_SERVER_SOCKET}" 36
37EDITOR="emacsclient -nw"
15alias e="${EDITOR}" 38alias e="${EDITOR}"
16 39
17# History settings 40# History settings