-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_bashrc
More file actions
53 lines (41 loc) · 1.71 KB
/
Copy pathdot_bashrc
File metadata and controls
53 lines (41 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Enable auto-scaling of Qt-based apps (Dropbox etc)
export QT_AUTO_SCREEN_SCALE_FACTOR=2
# Set default editor to nano
export EDITOR=nano
# Enable git enhancements to the prompt
##source /home/rdickens/.oh-my-git/prompt.sh
GIT_PROMPT_THEME=Single_line_Russell
source ~/.bash-git-prompt/gitprompt.sh
##source ~/.bash-powerline.sh
##source ~/.powerline-bash.sh
##source ~/.powerbash.sh
##source ~/.bashrc.theme.sh
##function _update_ps1() {
## PS1="$(~/powerline-go -modules ssh,cwd,git,exit -error $? -newline -cwd-max-depth 2 -cwd-max-dir-size 30)"
##}
##if [ "$TERM" != "linux" ]; then
## PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
##fi
# Aliases
# -------
# User specific aliases and functions
alias whitenoise='play -n -c1 synth whitenoise lowpass -1 120 lowpass -1 120 lowpass -1 120 gain +14'
alias ll='ls -l'
# Documentation-specific aliases
alias dbuild='ccutil compile --lang=en-US --format=html-single'
alias dview='ccutil compile --lang=en-US --format=html-single --open'
# Application launchers
alias ffb="~/bin/firefox_beta/firefox -P firefox_beta -no-remote > /dev/null 2>&1 &"
alias ffn="~/bin/firefox_nightly/firefox -P firefox_nightly -no-remote > /dev/null 2>&1 &"
alias ffe="~/bin/firefox_esr/firefox -P firefox_esr -no-remote > /dev/null 2>&1 &"
alias chd=~/repos/chromium-latest-linux/run.sh
alias ffp="~/bin/firefox_personal/firefox -P firefox_personal -no-remote > /dev/null 2>&1 &"
###alias cht=~/repos/chromium-latest-linux/run_temporary.sh
# User specific environment and startup programs
# Functions
# ---------
function qlssh {
ssh -i ~/.ssh/quicklab.key -o "UserKnownHostsFile /dev/null" -o "StrictHostKeyChecking no" cloud-user@$1
}
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH