Compare commits
No commits in common. "5a0c45b1bf32be057814fe5cf115d1cf512c5f96" and "ae0fd0182e2b89c6b761206a2061469805f089d0" have entirely different histories.
5a0c45b1bf
...
ae0fd0182e
|
|
@ -36,18 +36,16 @@ yay() {
|
||||||
command yay "$@"
|
command yay "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create and cd to temporary directory ~/tmp/tmp.YYYYMMDD.XXXXXX or ~/tmp/tmp.$1.XXXXXX if an argument is given
|
# Create and cd to tmp dir
|
||||||
function cdtmp() {
|
alias cdtmp='cd $(mktemp -d -p ~/tmp/)'
|
||||||
cd $(mktemp -d -p ~/tmp tmp.${1:-$(date +%Y%m%d)}.XXXXXX)
|
|
||||||
}
|
|
||||||
|
|
||||||
# Make dir and cd into it (from Mara)
|
# Make dir and cd to it (from Mara)
|
||||||
function mkcd() {
|
function mkcd() {
|
||||||
mkdir -p "$1"
|
mkdir -p "$1"
|
||||||
cd "$1"
|
cd "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# cd into dir + ll (ls -la)
|
# cd to dir + ll (ls -la)
|
||||||
function cdll() {
|
function cdll() {
|
||||||
cd "$1"
|
cd "$1"
|
||||||
ls -la
|
ls -la
|
||||||
|
|
@ -104,13 +102,3 @@ function b64dec() {
|
||||||
echo -n "$1" | base64 -d
|
echo -n "$1" | base64 -d
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
# Shortcuts for dig with less output
|
|
||||||
alias digs='dig +short'
|
|
||||||
alias digrr='dig +noall +answer'
|
|
||||||
|
|
||||||
# Readline macro Ctrl-Alt-L: Append "| less" to current command
|
|
||||||
bind '"\e\C-l": "\C-e | less"'
|
|
||||||
|
|
||||||
# Readline macro Ctrl-Alt-B: Append ">/dev/null 2>&1 &" to current command
|
|
||||||
bind '"\e\C-b": "\C-e >/dev/null 2>&1 &"'
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
[core]
|
[core]
|
||||||
# Normalize line endings
|
eol = lf
|
||||||
autocrlf = input
|
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
@ -37,12 +36,6 @@
|
||||||
[credential]
|
[credential]
|
||||||
helper = /usr/lib/git-core/git-credential-libsecret
|
helper = /usr/lib/git-core/git-credential-libsecret
|
||||||
|
|
||||||
[filter "lfs"]
|
|
||||||
required = true
|
|
||||||
clean = git-lfs clean -- %f
|
|
||||||
smudge = git-lfs smudge -- %f
|
|
||||||
process = git-lfs filter-process
|
|
||||||
|
|
||||||
[pretty]
|
[pretty]
|
||||||
ls = tformat:%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d
|
ls = tformat:%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d
|
||||||
lsd = tformat:%>|(13)%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d
|
lsd = tformat:%>|(13)%C(yellow)%h %Cgreen%ad %Creset%s %Cblue[%an]%C(auto)%d
|
||||||
|
|
|
||||||
24
.inputrc
24
.inputrc
|
|
@ -1,24 +0,0 @@
|
||||||
# Include system defaults
|
|
||||||
$include /etc/inputrc
|
|
||||||
|
|
||||||
# Disable terminal bell
|
|
||||||
set bell-style none
|
|
||||||
|
|
||||||
# Enable colors for completion listings
|
|
||||||
set colored-completion-prefix on
|
|
||||||
set colored-stats on
|
|
||||||
|
|
||||||
# Enable case-insensitive completion
|
|
||||||
set completion-ignore-case on
|
|
||||||
|
|
||||||
# Show completion listing without double-Tab
|
|
||||||
set show-all-if-ambiguous on
|
|
||||||
|
|
||||||
# Don't keep changes to history lines
|
|
||||||
set revert-all-at-newline on
|
|
||||||
|
|
||||||
# Keybinding Alt-W: Like Ctrl-w but allowing slashes as word boundaries
|
|
||||||
"\ew": unix-filename-rubout
|
|
||||||
|
|
||||||
# Keybinding Alt-Tab: Cycle through completions
|
|
||||||
"\e\C-i": menu-complete
|
|
||||||
19
.ssh/config
19
.ssh/config
|
|
@ -1,10 +1,13 @@
|
||||||
# Include drop-in configurations
|
|
||||||
Include ~/.ssh/config.d/*.conf
|
|
||||||
|
|
||||||
# Global configuration
|
|
||||||
AddKeysToAgent yes
|
AddKeysToAgent yes
|
||||||
|
|
||||||
# Host defaults
|
Host afra-door
|
||||||
Host *
|
HostName 172.23.42.69
|
||||||
IdentitiesOnly yes
|
ProxyJump afra.fe80.eu
|
||||||
SendEnv LANG LC_*
|
User pi
|
||||||
|
|
||||||
|
Host toriel-dropbear
|
||||||
|
HostName 192.168.16.4
|
||||||
|
User root
|
||||||
|
RemoteCommand cryptroot-unlock
|
||||||
|
RequestTTY yes
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
Host toriel
|
|
||||||
ForwardAgent yes
|
|
||||||
|
|
||||||
Host toriel-dropbear
|
|
||||||
HostName 192.168.16.4
|
|
||||||
User root
|
|
||||||
RemoteCommand cryptroot-unlock
|
|
||||||
RequestTTY yes
|
|
||||||
Loading…
Reference in New Issue