Skip to content

Commit

Permalink
shell - update config
Browse files Browse the repository at this point in the history
  • Loading branch information
VonHeikemen committed Jul 18, 2020
1 parent ee57df1 commit 7ec33b0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 172 deletions.
4 changes: 2 additions & 2 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ fi
. ~/my-configs/bash/theme.bash

# The Good Stuff
. ~/my-configs/bash/aliases.bash
source ~/my-configs/shell/aliases.sh

# Custom functions
. ~/my-configs/bash/custom-functions.bash
source ~/my-configs/shell/custom-functions.sh

7 changes: 2 additions & 5 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ source ~/my-configs/zsh/key-bindings.zsh
source ~/my-configs/zsh/theme.zsh

# Good stuff
source ~/my-configs/zsh/aliases.zsh

# ssh
source ~/my-configs/zsh/ssh-agent.zsh
source ~/my-configs/shell/aliases.sh

# custom-functions
source ~/my-configs/zsh/custom-functions.zsh
source ~/my-configs/shell/custom-functions.sh

48 changes: 0 additions & 48 deletions my-configs/bash/aliases.bash

This file was deleted.

113 changes: 0 additions & 113 deletions my-configs/bash/custom-functions.bash

This file was deleted.

3 changes: 0 additions & 3 deletions my-configs/zsh/aliases.zsh → my-configs/shell/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!.git/*" --glob
export FZF_DEFAULT_OPTS='--layout=reverse --border'
export BAT_THEME='base16'

alias -g @noerr="2> /dev/null"
alias -g @quiet="> /dev/null 2>&1"

alias duh='du -d 1 -h'

alias -- -='cd -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ll ()
# To cd on quit only on ^G, remove the "export" as in:
# NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
# NOTE: NNN_TMPFILE is fixed, should not be modified
local NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"
export NNN_TMPFILE="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd"

# Unmask ^Q (, ^V etc.) (if required, see `stty -a`) to Quit nnn
# stty start undef
Expand Down

0 comments on commit 7ec33b0

Please sign in to comment.