Compare commits
10 Commits
4b36f51801
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6aec149865 | |||
| 21030a8604 | |||
| 3c96f8af47 | |||
| d3e2a923ad | |||
| fc1487fc8b | |||
| 818e1a97d8 | |||
| 959e419e5c | |||
| d86ef98487 | |||
| 68d222153b | |||
| 901863c9ff |
1115
.ansible.cfg
Normal file
1115
.ansible.cfg
Normal file
File diff suppressed because it is too large
Load Diff
3
.bashrc
3
.bashrc
@ -56,6 +56,9 @@ function parse_git_branch {
|
||||
#export PS1='\u@\h \[\033[1;33m\]\w \[\033[0m\]$(parse_git_branch)$ '
|
||||
export PS1='\[\033[1;31m\]\u@\h \[\033[1;34m\]\w \[\033[1;32m\]$(parse_git_branch)\[\033[0m\]$ '
|
||||
|
||||
# bind commands
|
||||
bind '"\C-k"':kill-line # clear to end of line
|
||||
|
||||
# Local customized path and environment settings, etc.
|
||||
if [ -f ~/.bashrc.local ]; then
|
||||
. ~/.bashrc.local
|
||||
|
||||
@ -261,7 +261,7 @@ mux_conf_theme_right_separator_sub="\uE0B3" # PowerlineSymbols.otf font, see
|
||||
# - #{username}
|
||||
# - #{username_ssh}
|
||||
tmux_conf_theme_status_left=" ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} "
|
||||
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized} #(curl wttr.in?format=3) #{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} "
|
||||
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized} #(curl #{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} "
|
||||
|
||||
# status left style
|
||||
tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8"
|
||||
|
||||
@ -6,9 +6,9 @@
|
||||
|
||||
########## Variables
|
||||
|
||||
dir=$(basename $0) # dotfiles directory
|
||||
olddir=$(basename $0)_old # old dotfiles backup directory
|
||||
files=".tmux.conf .tmux.conf.local .vimrc .vim .tcshrc .bashrc .inputrc .git_completion" # list of files/folders to symlink in homedir
|
||||
dir=~/.dotfiles # dotfiles directory
|
||||
olddir=~/.dotfiles_old # old dotfiles backup directory
|
||||
files=".tmux.conf .tmux.conf.local .vimrc .vim .tcshrc .bashrc .inputrc .git_completion .ansible.cfg" # list of files/folders to symlink in homedir
|
||||
|
||||
##########
|
||||
|
||||
@ -25,18 +25,18 @@ echo "...done"
|
||||
# move any existing dotfiles in homedir to dotfiles_old directory, then create symlinks
|
||||
for file in $files; do
|
||||
echo "Moving any existing dotfiles from ~ to $olddir"
|
||||
mv ~/$file ~/dotfiles_old/ > /dev/null 2>&1
|
||||
mv ~/$file ~/.dotfiles_old/ > /dev/null 2>&1
|
||||
echo "Creating symlink to $file in home directory."
|
||||
ln -s $dir/$file ~/$file > /dev/null 2>&1
|
||||
done
|
||||
|
||||
# link Starship config to ~/.config/ if exists
|
||||
if [ -f ~/.config ]; then
|
||||
ln -s ./starship.toml ~/.config/starship.toml
|
||||
if [ -d ~/.config ]; then
|
||||
ln -s $dir/starship.toml ~/.config/starship.toml
|
||||
fi
|
||||
|
||||
# copy example bashrc.local if one doesn't exist yet
|
||||
if [ ! -f ~/.bashrc.local ]; then
|
||||
ln -s .bashrc.local ~/.bashrc.local
|
||||
cp $file/.bashrc.local ~/.bashrc.local
|
||||
fi
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@ show_always = true
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
format = "[$ssh_symbol](bold blue) on [$hostname](bold yellow) "
|
||||
trim_at = ".companyname.com"
|
||||
trim_at = ".strog.org"
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
|
||||
Reference in New Issue
Block a user