-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SiliconRaven
committed
Oct 6, 2019
1 parent
a145bd0
commit 98e42b5
Showing
58 changed files
with
2,327 additions
and
309 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ alias free='free -m' # show sizes in MB | |
alias np='nano -w PKGBUILD' | ||
alias more=less | ||
shopt -s expand_aliases | ||
alias update="sudo pacman -Syyuu" | ||
alias update="yay -Syyuu" | ||
# alias yayupdate="yay -Syyu" | ||
alias pacinstall="sudo pacman -S" | ||
alias pacsearch="sudo pacman -Fs" | ||
|
@@ -44,11 +44,6 @@ alias -- -="cd -" | |
|
||
# Shortcuts | ||
alias prompt="cd && code .bash_prompt" | ||
alias aliases="cd && code .aliases" | ||
alias dl="cd ~/Downloads" | ||
alias dt="cd ~/Desktop" | ||
alias pp="cd pyProjects" | ||
alias ps="cd pyScripts" | ||
alias ll="lsd -alF" | ||
alias la="lsd -a" | ||
# Always enable colored `grep` output | ||
|
@@ -124,3 +119,5 @@ alias lampp="sudo /opt/lampp/lampp" | |
|
||
alias l="less" | ||
alias keygen='ssh-keygen -t rsa -b 4096 -C "[email protected]"' | ||
alias wgeta="wget --recursive --no-parent" | ||
alias wgeti='wget -r -np -R "index.html*"' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,70 @@ | ||
.bash_profile | ||
# Add `~/bin` to the `$PATH` | ||
export PATH="$HOME/bin:$PATH"; | ||
|
||
[[ $- != *i* ]] && return | ||
|
||
|
||
# Load the shell dotfiles, and then some: | ||
# * ~/.path can be used to extend `$PATH`. | ||
# * ~/.extra can be used for other settings you don’t want to commit. | ||
for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do | ||
[ -r "$file" ] && [ -f "$file" ] && source "$file"; | ||
done; | ||
unset file; | ||
|
||
# Case-insensitive globbing (used in pathname expansion) | ||
shopt -s nocaseglob; | ||
|
||
# Append to the Bash history file, rather than overwriting it | ||
shopt -s histappend; | ||
|
||
# Autocorrect typos in path names when using `cd` | ||
shopt -s cdspell; | ||
|
||
# Enable some Bash 4 features when possible: | ||
# * `autocd`, e.g. `**/qux` will enter `./foo/bar/baz/qux` | ||
# * Recursive globbing, e.g. `echo **/*.txt` | ||
for option in autocd globstar; do | ||
shopt -s "$option" 2> /dev/null; | ||
done; | ||
|
||
# Add tab completion for many Bash commands | ||
if which brew &> /dev/null && [ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]; then | ||
# Ensure existing Homebrew v1 completions continue to work | ||
export BASH_COMPLETION_COMPAT_DIR="$(brew --prefix)/etc/bash_completion.d"; | ||
source "$(brew --prefix)/etc/profile.d/bash_completion.sh"; | ||
elif [ -f /etc/bash_completion ]; then | ||
source /etc/bash_completion; | ||
fi; | ||
|
||
# Enable tab completion for `g` by marking it as an alias for `git` | ||
if type _git &> /dev/null; then | ||
complete -o default -o nospace -F _git g; | ||
fi; | ||
|
||
# Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards | ||
[ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2- | tr ' ' '\n')" scp sftp ssh; | ||
|
||
# Add tab completion for `defaults read|write NSGlobalDomain` | ||
# You could just use `-g` instead, but I like being explicit | ||
complete -W "NSGlobalDomain" defaults; | ||
|
||
# Add `killall` tab completion for common apps | ||
complete -o "nospace" -W "Contacts Calendar Dock Finder Mail Safari iTunes SystemUIServer Terminal Twitter" killall; | ||
|
||
#Import colorscheme from 'wal' asynchronously | ||
#& Run the process in the background. | ||
#( ) Hide shell job control messages. | ||
#(cat ~/.cache/wal/sequences &) | ||
|
||
# Alternative (blocks terminal for 0-3ms) | ||
#cat ~/.cache/wal/sequences | ||
|
||
# To add support for TTYs this line can be optionally added. | ||
source ~/.cache/wal/colors-tty.sh | ||
|
||
#export PATH="/home/ted/.pyenv/bin:$PATH" | ||
#eval "$(pyenv init -)" | ||
#eval "$(pyenv virtualenv-init -)" | ||
EDITOR=/usr/bin/nano | ||
TERMINAL=/usr/bin/kitty |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/ted/dotfiles/autorandr/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/ted/.config/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/ted/dotfiles/bspwm/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/ted/dotfiles/yay/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
ln -s -f /home/ted/dotfiles/autorandr/ /home/ted/.config/autorandr | ||
ln -sf /home/ted/dotfiles/bspwm/ /home/ted/.config/bspwm | ||
ln -sf /home/ted/dotfiles/kitty/ /home/ted/.config/kitty | ||
ln -sf /home/ted/dotfiles/polybar/ /home/ted/.config/polybar | ||
ln -sf /home/ted/dotfiles/rofi/ /home/ted/.config/rofi | ||
ln -sf /home/ted/dotfiles/sxhkd/ /home/ted/.config/sxhkd | ||
ln -sf /home/ted/dotfiles/yay/ /home/ted/.config/ bspwm | ||
ln -sf /home/ted/dotfiles/.aliases /home/ted/.aliases | ||
ln -sf /home/ted/dotfiles/.bash_profile /home/ted/.bash_profile | ||
ln -sf /home/ted/dotfiles/.bash_prompt /home/ted/.bash_prompt | ||
ln -sf /home/ted/dotfiles/.bashrc /home/ted/.bashrc | ||
ln -sf /home/ted/dotfiles/.xinitrc /home/ted/.xinitrc | ||
ln -sf /home/ted/dotfiles/wal/ /home/ted/.cache/wal |
Oops, something went wrong.