summaryrefslogtreecommitdiff
path: root/old/kusanagi/dot_bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'old/kusanagi/dot_bashrc')
-rw-r--r--old/kusanagi/dot_bashrc80
1 files changed, 80 insertions, 0 deletions
diff --git a/old/kusanagi/dot_bashrc b/old/kusanagi/dot_bashrc
new file mode 100644
index 0000000..fc2b6c4
--- /dev/null
+++ b/old/kusanagi/dot_bashrc
@@ -0,0 +1,80 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+source $HOME/.profile
+
+export MOZ_ENABLE_WAYLAND=1
+
+export HISTSIZE=2000
+export HISTFILESIZE=2000
+
+complete -cf sudo
+complete -cf man
+shopt -s autocd
+
+alias ls='ls -F'
+PS1='[\u@\h \W]\$ '
+
+export EDITOR='vim'
+
+alias azer='setxkbmap fr bepo'
+alias bépo='setxkbmap fr'
+alias qdsf='setxkbmap dvorak'
+alias aoeu='setxkbmap fr'
+
+export GOPATH=$HOME/go
+
+export PATH=$HOME/usr/bin:$HOME/go/bin:$HOME/.local/bin:$PATH
+export LD_LIBRARY_PATH=$HOME/usr/lib:$HOME/usr/lib64
+
+export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$HOME/usr/lib/pkgconfig"
+
+export WINEARCH=win32
+export WINEPREFIX=/home/lx.nobackup/wine
+
+# -- GIT prompt
+# GIT_PROMPT_FETCH_REMOTE_STATUS=0
+# GIT_PROMPT_START="\n\[\033[0m\][\$(if [[ \$? == 0 ]]; then echo \"\[\033[0;32m\]\$?\"; else echo \"\[\033[0;31m\]\$?\"; fi)\[\033[00m\]] \[\033[0;36m\]\u@\h \[\033[0;33m\]\w\[\033[0m\]"
+# GIT_PROMPT_END="\[\033[0m\]\n \$ "
+# source ~/usr/src/bash-git-prompt/gitprompt.sh
+
+alias irc='ssh -t katchup@adnab.me /usr/local/bin/irc'
+
+alias drsync='rsync -arzv --delete --progress'
+
+source /usr/share/fzf/completion.bash
+source /usr/share/fzf/key-bindings.bash
+
+# expand -t 4 $HOME/Core/TODO
+
+eval $(keychain ~/.ssh/id_rsa --quiet --eval)
+
+#export LUA_PATH='/home/lx/.luarocks/share/lua/5.3/?.lua;/home/lx/.luarocks/share/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/lib/lua/5.3/?.lua;/usr/lib/lua/5.3/?/init.lua;./?.lua;./?/init.lua'
+#export LUA_CPATH='/home/lx/.luarocks/lib/lua/5.3/?.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so;./?.so'
+
+export PYTHONPATH=.
+
+alias anac='source /home/lx.nobackup/anaconda2/bin/activate'
+
+
+## NODE
+NPM_PACKAGES="${HOME}/.npm-packages"
+PATH="$NPM_PACKAGES/bin:$PATH"
+# Unset manpath so we can inherit from /etc/manpath via the `manpath` command
+unset MANPATH # delete if you already modified MANPATH elsewhere in your config
+export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
+
+alias sway='exec sway'
+
+# Rust
+source $HOME/.cargo/env
+export RUSTFLAGS="-C link-arg=-fuse-ld=lld"
+
+khal calendar
+echo
+todo
+echo