Skip to content

Instantly share code, notes, and snippets.

@farosas
Last active April 20, 2021 22:32
Show Gist options
  • Select an option

  • Save farosas/1e2beb4b61cf88fb16b9 to your computer and use it in GitHub Desktop.

Select an option

Save farosas/1e2beb4b61cf88fb16b9 to your computer and use it in GitHub Desktop.
guest
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias gls='git status'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
function prompt {
local BLACK="\[\033[0;30m\]"
local GREEN="\[\033[0;32m\]"
local CYAN="\[\033[0;36m\]"
local CYANBOLD="\[\033[1;36m\]"
local NORMAL="\[\033[00m\]"
local GITPS1='$(__git_ps1)'
export PS1="$CYAN\u$NORMAL@\h:$CYANBOLD\w \$ $GREEN"
#export PS1="$BLACK \u$NORMAL:$BLACK\w$NORMAL \$ $BLACK"
trap 'echo -ne "\e[0m"' DEBUG
}
prompt
export HISTSIZE=1000000
export HISTFILESIZE=400000000
export HISTIGNORE="&:[ ]*"
export PROMPT_COMMAND="history -a"
export TERM=xterm-256color
shopt -s histappend
shopt -s extglob
# use C-s for forward-search-history instead
stty stop undef
# use C-w for kill-region instead
stty werase undef
$include /etc/inputrc
set completion-query-items 10000
set completion-ignore-case On
"\eh":"cd ..\n"
"\C-w":kill-region
"\C-s":forward-search-history
"\ew":copy-region-as-kill
"\C-Space":set-mark
"\en":history-search-forward
"\ep":history-search-backward
unbind C-b
set -g prefix C-x
bind C-x send-prefix
set-option -g history-limit 300000
CONFIG_KGDB=y
CONFIG_DEBUG_INFO=y
CONFIG_KVM_BOOK3S_64_PR=m
CONFIG_PPC_SVM=y
CONFIG_KVM_BOOK3S_HV_POSSIBLE=y
CONFIG_KVM_BOOK3S_64=y
CONFIG_KVM_BOOK3S_64_HV=y
CONFIG_KVM_BOOK3S_64_PR=y
CONFIG_ZONE_DEVICE=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI=y
CONFIG_DAX=y
CONFIG_XFS_FS=y
CONFIG_FS_DAX=y
CONFIG_FUSE_FS=y
CONFIG_VIRTIO_FS=y
CONFIG_DEBUG_INFO=y
CONFIG_GDB_SCRIPTS=y
CONFIG_XMON=y
CONFIG_XMON_DEFAULT_RO_MODE=y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment