mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
No commits in common. "9e9ff0d20cdfd76fa2ce282e4ff028d37ced90c8" and "81d598fb1eeaa214c438e8f6758fe3dd2afd5d84" have entirely different histories.
9e9ff0d20c
...
81d598fb1e
2 changed files with 1 additions and 7 deletions
|
|
@ -87,6 +87,7 @@ alias e="$EDITOR"
|
||||||
if [[ "$EDITOR" == *vim ]]; then
|
if [[ "$EDITOR" == *vim ]]; then
|
||||||
alias es="e -S"
|
alias es="e -S"
|
||||||
fi
|
fi
|
||||||
|
alias sue="sudo --edit"
|
||||||
|
|
||||||
alias rsync-backup='rsync --archive --compress --verbose --human-readable --partial --progress'
|
alias rsync-backup='rsync --archive --compress --verbose --human-readable --partial --progress'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -95,10 +95,3 @@ unset date_formats
|
||||||
if (( _is_linux )) && command_exists swapoff && command_exists swapon; then
|
if (( _is_linux )) && command_exists swapoff && command_exists swapon; then
|
||||||
deswap() { sudo sh -c 'swapoff --all && swapon --all'; }
|
deswap() { sudo sh -c 'swapoff --all && swapon --all'; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Taken from <https://vi.stackexchange.com/a/7810/34615>
|
|
||||||
sudoedit() {
|
|
||||||
SUDO_COMMAND="sudoedit $@" command sudoedit "$@"
|
|
||||||
}
|
|
||||||
alias sudoe="sudoedit"
|
|
||||||
alias sue="sudoedit"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue