Skip to content

Instantly share code, notes, and snippets.

@Axeltherabbit
Created March 31, 2022 15:59
Show Gist options
  • Save Axeltherabbit/e78d3bc0c049959f68ed5a83a42fc712 to your computer and use it in GitHub Desktop.
Save Axeltherabbit/e78d3bc0c049959f68ed5a83a42fc712 to your computer and use it in GitHub Desktop.
#alias
alias xcopy='xclip -selection clipboard'
alias xpaste='xclip -selection clipboard -o'
alias ls='ls --color=auto'
alias vi='vim'
alias hg='history | grep'
alias replacegnome='gnome-shell --wayland --replace'
alias ssh_github_login='ssh -T git@github.com'
PS1='\[\033[01m\][ \[\033[01;34m\]\u@\h \[\033[00m\]\[\033[01m\]][\e[33m\]^_^\[\e[0m\]] \w\[\033[00m\]\n\[\033[01;34m\]$\[\033[00m\]> '
alias sshserver1='ssh CENSURED :D'
alias sshserver2='ssh CENSURED :D'
alias openpdf='evince'
#exports
export VISUAL="vim"
export LANG=en_GB.UTF-8
export LC_MESSAGES="C"
export LC_ALL=""
export MOZ_ENABLE_WAYLAND=1
export TDESKTOP_I_KNOW_ABOUT_GTK_INCOMPATIBILITY=1
export QT_QPA_PLATFORM=wayland
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
export PYTHON_CONFIGURE_OPTS="--enable-shared"
#ignore duplicates in bashhistory
export HISTCONTROL=ignoredups
#tab autocomplete
bind 'TAB:menu-complete'
bind 'set show-all-if-ambiguous on'
bind '"\e[Z":menu-complete-backward'
#pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export PATH="/home/therabbit/.local/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment