summaryrefslogtreecommitdiff
path: root/lindy/old/dot_bashrc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-01-17 12:33:50 +0100
committerAlex Auvolat <alex@adnab.me>2023-01-17 12:33:50 +0100
commiteaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 (patch)
tree2c80bd3a4a1eda0771ec9b9caf882df95aea78a1 /lindy/old/dot_bashrc
parent0fe1e2445f805a9558cb19540966e72a02fc5326 (diff)
downloaduser-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.tar.gz
user-config-eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37.zip
Lindy on NixOS
Diffstat (limited to 'lindy/old/dot_bashrc')
-rw-r--r--lindy/old/dot_bashrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/lindy/old/dot_bashrc b/lindy/old/dot_bashrc
new file mode 100644
index 0000000..5ba4663
--- /dev/null
+++ b/lindy/old/dot_bashrc
@@ -0,0 +1,31 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+#source $HOME/.profile
+
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '
+
+export EDITOR='vim'
+
+alias irc='ssh -t adnab.me /usr/local/bin/irc'
+
+export PATH=$HOME/.local/bin:$PATH
+
+#keychain ~/.ssh/id_rsa --quiet
+keychain ~/.ssh/id_ed25519 --quiet
+eval $(keychain --eval --quiet)
+
+# RUST
+source $HOME/.cargo/env
+
+# xkb
+if [ ! -z "$DISPLAY" ]; then
+ xkbcomp ~/.xkb/symbols/custom-fr $DISPLAY 2>/dev/null
+fi
+
+alias copyx='xclip -selection c'