Skip to content

Commit 48f7f36

Browse files
committed
.zshrc: do not autocorrect all commands, function for downloading debs and insta-installing
1 parent 196aa47 commit 48f7f36

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.zshrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ setopt append_history # append history instead of overwriting
6060
setopt share_history # share history between sessions
6161
setopt hist_ignore_dups # ignore duplicate entries in history
6262
setopt extended_history # save timestamp of each command in history
63-
setopt correct_all # autocorrect commands
6463
setopt no_beep # disable beep on errors
6564
setopt interactive_comments # allow comments in interactive shell
6665

@@ -335,6 +334,11 @@ v() {
335334
nvim $(fzf)
336335
}
337336

337+
installdeb() {
338+
wget -P ~/Downloads/ "$1"
339+
sudo dpkg -i ~/Downloads/"${1##*/}"
340+
}
341+
338342
# Accepts one history line number as argument.
339343
# Use `dc -1` to remove the last line.
340344
dc () {

0 commit comments

Comments
 (0)