Compare commits
No commits in common. "0658a6ae9ee784bc03a3d531232c5af0abbdd942" and "845f7ef5e86cd6394878978c3ed4fe5b861141e5" have entirely different histories.
0658a6ae9e
...
845f7ef5e8
4 changed files with 9 additions and 62 deletions
26
bashrc
26
bashrc
|
@ -8,17 +8,11 @@
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
alias exa='exa --tree'
|
|
||||||
alias flush='cd; clear; motd'
|
|
||||||
alias fortune='fortune-rs'
|
|
||||||
alias hx='helix'
|
alias hx='helix'
|
||||||
alias imgcat='wezterm imgcat --height 50%'
|
alias imgcat="wezterm imgcat --height 50%"
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
alias lsd='lsd -l'
|
alias lsd="lsd -l"
|
||||||
alias motd='rust-motd'
|
alias motd="rust-motd"
|
||||||
alias onefetch='onefetch --no-title --no-art --no-color-palette'
|
|
||||||
alias rmux='remux'
|
|
||||||
alias sl='sl -e'
|
|
||||||
|
|
||||||
export EDITOR=helix
|
export EDITOR=helix
|
||||||
|
|
||||||
|
@ -30,20 +24,8 @@ eval "$(thefuck --alias)"
|
||||||
source /usr/lib/goto/goto.sh
|
source /usr/lib/goto/goto.sh
|
||||||
source /usr/lib/codecat/codecat.sh
|
source /usr/lib/codecat/codecat.sh
|
||||||
|
|
||||||
if [[ $TERM == 'linux' ]]; then
|
export PS1="$(starship prompt)"
|
||||||
if [[ $SHLVL -le 1 ]]; then
|
|
||||||
echo -e "\nWelcome back, $(whoami)!\n"
|
|
||||||
fi
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
#export PS1="$(starship prompt)"
|
|
||||||
if [[ $SHLVL -le 3 ]]; then
|
if [[ $SHLVL -le 3 ]]; then
|
||||||
motd
|
motd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if shopt -q login_shell; then
|
|
||||||
bash
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
echo -e "\033[1;31m$(hostname | figlet -f slant)\033[0m"
|
|
||||||
echo "$(whoami)@$(hostname)"
|
|
||||||
echo ''
|
|
||||||
fortune-rs
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
[global]
|
|
||||||
progress_full_character = "="
|
|
||||||
progress_empty_character = "="
|
|
||||||
progress_prefix = "["
|
|
||||||
progress_suffix = "]"
|
|
||||||
time_format = "%Y-%m-%d %H:%M"
|
|
||||||
|
|
||||||
[banner]
|
|
||||||
color = "light_white"
|
|
||||||
#color = "red"
|
|
||||||
# command = 'figlet -f slant "$(whoami)@$(hostname)"'
|
|
||||||
command = "~/.config/rust-motd/banner.sh"
|
|
||||||
|
|
||||||
[filesystems]
|
|
||||||
root = "/"
|
|
||||||
#secondary = "/mount/f"
|
|
||||||
|
|
||||||
[uptime]
|
|
||||||
prefix = "Uptime:"
|
|
||||||
|
|
||||||
#[weather]
|
|
||||||
#url = "https://wttr.in/Cary,North+Carolina?0"
|
|
||||||
|
|
15
tmux.conf
15
tmux.conf
|
@ -12,18 +12,16 @@ set -g mouse on
|
||||||
# / /| / __/ /_/ / /_/ / / / / / /_/ (__ )
|
# / /| / __/ /_/ / /_/ / / / / / /_/ (__ )
|
||||||
#/_/ |_\___/\__, /_.___/_/_/ /_/\__,_/____/
|
#/_/ |_\___/\__, /_.___/_/_/ /_/\__,_/____/
|
||||||
# /____/
|
# /____/
|
||||||
|
|
||||||
# detach
|
|
||||||
unbind d
|
unbind d
|
||||||
bind M-Escape detach-client
|
bind M-Escape detach-client
|
||||||
|
|
||||||
# splits
|
# Splits
|
||||||
unbind '"'
|
unbind '"'
|
||||||
unbind %
|
unbind %
|
||||||
bind h split-window -h
|
bind h split-window -h
|
||||||
bind v split-window -v
|
bind v split-window -v
|
||||||
|
|
||||||
# navigation
|
# Navigation
|
||||||
unbind w
|
unbind w
|
||||||
unbind s
|
unbind s
|
||||||
unbind a
|
unbind a
|
||||||
|
@ -44,20 +42,17 @@ bind e next-window
|
||||||
# /_/ |_/ .___/ .___/\___/\__,_/_/ \__,_/_/ /_/\___/\___/
|
# /_/ |_/ .___/ .___/\___/\__,_/_/ \__,_/_/ /_/\___/\___/
|
||||||
# /_/ /_/
|
# /_/ /_/
|
||||||
|
|
||||||
# fix truecolor
|
# Modes
|
||||||
set-option -g terminal-overrides ",xterm*:Tc"
|
|
||||||
|
|
||||||
# modes
|
|
||||||
setw -g clock-mode-colour colour7
|
setw -g clock-mode-colour colour7
|
||||||
setw -g clock-mode-style 12
|
setw -g clock-mode-style 12
|
||||||
|
|
||||||
setw -g mode-style 'fg=colour15 bold bg=colour235'
|
setw -g mode-style 'fg=colour15 bold bg=colour235'
|
||||||
|
|
||||||
# panes
|
# Panes
|
||||||
set -g pane-border-style 'fg=colour251'
|
set -g pane-border-style 'fg=colour251'
|
||||||
set -g pane-active-border-style 'fg=colour69'
|
set -g pane-active-border-style 'fg=colour69'
|
||||||
|
|
||||||
# status bar
|
# Status Bar
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-justify left
|
set -g status-justify left
|
||||||
set -g status-style 'fg=colour15'
|
set -g status-style 'fg=colour15'
|
||||||
|
|
Loading…
Reference in a new issue