From eaf6d5b07bcdd9a3eb9bfdac93566b7432e46c37 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 17 Jan 2023 12:33:50 +0100 Subject: Lindy on NixOS --- lindy/old/dot_bashrc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lindy/old/dot_bashrc (limited to 'lindy/old/dot_bashrc') 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' -- cgit v1.2.3