Created
February 25, 2019 07:33
-
-
Save coffman21/10f87d0cf3916e00064d288605cd743b to your computer and use it in GitHub Desktop.
bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# don't put duplicate lines or lines starting with space in the history. | |
# See bash(1) for more options | |
HISTCONTROL=ignoreboth | |
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) | |
HISTSIZE=10000 | |
HISTFILESIZE=200000000 | |
# TIMESTAMP IN HISTORY OVER HERE | |
export HISTTIMEFORMAT="%d/%m/%y %T " | |
# APPEND TO HISTORY IMMEDIATELY | |
shopt -s histappend | |
export PROMPT_COMMAND='history -a' | |
# PROMPT_COMMAND="history -a;$PROMPT_COMMAND" | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;33m\][\t \d] \[\033[01;34m\]\u@\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\[\033[00m\]\$ ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' | |
fi | |
# unset color_prompt force_color_prompt | |
alias mntfs='sudo mount -t cifs -o username=username@domain.com,password=1234,user //fs/dfs ~/fs' | |
alias vino='/usr/bin/vino/vino-server > /dev/null 2>&1 &' | |
alias x='xrandr --newmode "1920x1080R" 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync; xrandr --addmode VGA-1 "1920x1080R"; xrandr --output VGA-1 --mode 1920x1080R' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment