Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e7ac281
fzf working in nvim.
nekoju Jan 11, 2023
2eac069
Update pre-commit hook for black and pytest.
nekoju Jan 11, 2023
8627976
Fish working now with stripped down config.
Feb 17, 2023
803744b
WIP dev host setup not going so well.
Feb 17, 2023
994de82
Remove a bunch of dev host stuff.
nekoju Feb 19, 2023
014c2c2
Removed a bunch more stuff.
nekoju Feb 19, 2023
a6075fb
Add nested-tmux.
nekoju Feb 20, 2023
78f6b4c
Add tmux plugins.
nekoju Feb 20, 2023
52b1966
Remove tmux plugins.
Feb 20, 2023
86cdddc
Remove submodules.
Feb 20, 2023
0572e4d
Remove some plugins.
Feb 20, 2023
74f1c46
Add basic .zshrc.
Feb 20, 2023
8c27532
Add .zshrc.
Feb 20, 2023
2bdc742
Merge remote-tracking branch 'origin/devhost' into devhost
Feb 20, 2023
e6d8752
Change init.vim to .vimrc.
Feb 20, 2023
907a81d
Change init.vim to .vimrc.
Feb 20, 2023
403f90d
Change init.vim to .vimrc.
Feb 20, 2023
c788e36
Added install script to clone from GH and alias dotfiles.
Feb 28, 2023
6362d33
Change .vimrc and .zshrc.
Feb 28, 2023
f87a7c0
tmux working on servers after removing some plugins.
Feb 28, 2023
7313026
Added vi bash binding.
Mar 1, 2023
b78d965
Add alt-L/R window switching to tmux.
nekoju Mar 3, 2023
46b2d3d
Add alt+arrow tab switching to tmux.
nekoju Mar 6, 2023
01608bc
Add screen-256color to tmux.
nekoju Mar 7, 2023
441db7b
Add ansible playbook for dotfiles.
nekoju Mar 10, 2023
3db04bd
Update .zshrc with logic for bastion server aliases.
nekoju Mar 10, 2023
99dd48a
Update .bashrc and .aliases for servers.
nekoju Mar 16, 2023
003aca7
Include aliases in .gitconfig.
nekoju Mar 16, 2023
03140f1
Set up install script.
nekoju Mar 16, 2023
0d64cdf
Add .bash_profile to setup.
nekoju Mar 16, 2023
33e3ae3
Add install script--untested.
Feb 22, 2023
1c78aac
Add ansible playbook for dotfile deployment.
nekoju Mar 10, 2023
a9da4c6
Add BUILDDIR alias.
nekoju Mar 16, 2023
b91aacb
Merge branch 'main' into devhost
nekoju Mar 16, 2023
1ac749a
Change zsh theme.
nekoju Mar 16, 2023
3bdcb51
Changed zsh theme again.
nekoju Mar 16, 2023
2b960a7
Cleaned some stuff up?
nekoju Mar 30, 2023
a4aaf36
Add vim-javascript.vim
nekoju Mar 31, 2023
c52193a
Update devhost with NVChad config.
nekoju May 30, 2025
1595b5b
nvim config submodule
nekoju May 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash

if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls="ls --color=auto"

alias grep="grep --color=auto"
alias fgrep="fgrep --color=auto"
alias egrep="egrep --color=auto"
fi

alias ll="ls -alF"
alias la="ls -A"
alias l="ls -CF"

alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

change-terminal-font () {
[[ -z "${1}" || -z "${2}" ]] && echo "Usage: change-terminal-font FROM_SIZE TO_SIZE"

local from="${1}"
local to="${2}"
local windows_user="$(powershell.exe '$env:UserName' | sed -e 's/\r//g')"
local terminal_config="/c/Users/${windows_user}/AppData/Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json"

perl -i -pe "s/\"fontSize\": ${from}/\"fontSize\": ${to}/g" "${terminal_config}"
}

alias diff="diff --color -u"

alias 755d="find . -type d -exec chmod 755 {} \;"

alias 644f="find . -type f -exec chmod 644 {} \;"
61 changes: 61 additions & 0 deletions .bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Add a timestamp to each command.
set -o vi
export HISTTIMEFORMAT="%Y/%m/%d %H:%M:%S: "

# Duplicate lines and lines starting with a space are not put into the history.
export HISTCONTROL=ignoreboth

# Append to the history file, don't overwrite it.
shopt -s histappend

# Ensure $LINES and $COLUMNS always get updated.
shopt -s checkwinsize

# Enable bash completion.
[ -f /etc/bash_completion ] && source /etc/bash_completion

# Improve output of less for binary files.
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

# Load aliases if they exist.
[ -f "${HOME}/.aliases" ] && source "${HOME}/.aliases"
[ -f "${HOME}/.aliases.local" ] && source "${HOME}/.aliases.local"

# Determine git branch.
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}

# Set a non-distracting prompt.
PS1='\[\]\u@\h\[\]:\[\]\w\[\] \[\]$(parse_git_branch)\[\]\$ '

# If it's an xterm compatible terminal, set the title to user@host: dir.
case "${TERM}" in
xterm*|rxvt*)
PS1="\[\e]0;\u@\h: \w\a\]${PS1}"
;;
*)
;;
esac
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

export PATH=$PATH:~/.gitaliases
export PATH=$PATH:~/.local/bin
export PATH=$PATH:~/.cargo/bin
export PATH=$PATH:~/bin
export DOC_TOKEN=$(cat ~/.doc_token)
export DOC_HOST=njuers8-dev.grnoc.iu.edu
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_work
15 changes: 13 additions & 2 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
#!/usr/bin/env bash
# This file runs every time you open a new terminal window.

unset HISTFILE
export LESSHISTFILE="-"
# Limit number of lines and entries in the history. HISTFILESIZE controls the
# history file on disk and HISTSIZE controls lines stored in memory.
export HISTFILESIZE=50000
export HISTSIZE=50000

export BUILDDIR=/home/$USER/git/glue/compile/builder/componentbuild/
. "$HOME/.cargo/env"

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
7 changes: 0 additions & 7 deletions .config/fish/conf.d/omf.fish

This file was deleted.

75 changes: 0 additions & 75 deletions .config/fish/config.fish

This file was deleted.

3 changes: 0 additions & 3 deletions .config/fish/functions/alacritty

This file was deleted.

6 changes: 0 additions & 6 deletions .config/fish/functions/brewClang.fish

This file was deleted.

4 changes: 0 additions & 4 deletions .config/fish/functions/cp.fish

This file was deleted.

4 changes: 0 additions & 4 deletions .config/fish/functions/duall.fish

This file was deleted.

9 changes: 0 additions & 9 deletions .config/fish/functions/edit_cmd.fish

This file was deleted.

6 changes: 0 additions & 6 deletions .config/fish/functions/eutil.fish

This file was deleted.

6 changes: 0 additions & 6 deletions .config/fish/functions/filterSections.fish

This file was deleted.

4 changes: 0 additions & 4 deletions .config/fish/functions/find.fish

This file was deleted.

3 changes: 0 additions & 3 deletions .config/fish/functions/fish_greeting.fish

This file was deleted.

28 changes: 0 additions & 28 deletions .config/fish/functions/fish_prompt.fish

This file was deleted.

32 changes: 0 additions & 32 deletions .config/fish/functions/fish_ssh_agent.fish

This file was deleted.

4 changes: 0 additions & 4 deletions .config/fish/functions/fish_user_key_bindings.fish

This file was deleted.

Loading