Skip to content

Instantly share code, notes, and snippets.

@4x8Matrix
Last active June 19, 2024 12:45
Show Gist options
  • Select an option

  • Save 4x8Matrix/f741f0b10c5e93ca25fb80ab7303cf86 to your computer and use it in GitHub Desktop.

Select an option

Save 4x8Matrix/f741f0b10c5e93ca25fb80ab7303cf86 to your computer and use it in GitHub Desktop.
My saved BASH confliguration
#!/bin/bash
[[ $- != *i* ]] && return
xhost +local:root > /dev/null 2>&1
export EDITOR=nano
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;32m'
export HISTSIZE=1000
export HISTFILESIZE=2000
export HISTCONTROL=ignoreboth
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias diff='diff --color=auto'
alias ip='ip --color=auto'
alias vps="ssh debian@51.195.201.208"
shopt -s checkwinsize
shopt -s expand_aliases
shopt -s histappend
. "$HOME/.aftman/env"
. "$HOME/.config/bash-prompt"
. "$HOME/.cargo/env"
. "/usr/share/blesh/ble.sh" --noattach
bleopt pager=less
bleopt prompt_eol_mark=$''
ble-color-setface auto_complete fg=242,bg=235
ble-color-setface auto_complete fg=white,bg=69
ble-color-setface auto_complete fg=240,underline,itali
fastfetch -c neofetch
ble-attach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment