aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2019-06-07 17:32:27 -0400
committertdro <tdro@users.noreply.github.com>2019-06-07 17:32:50 -0400
commit44f696c0ae72492882ccfad5c3f6ee53b9ad4a16 (patch)
treea87db8ed8a1bebf67b7701fa2c4a754fe88eb5d1 /.bashrc
parentcbc1daa5088d9528c4cd88301d26234d43ab50fb (diff)
downloaddotfiles-44f696c0ae72492882ccfad5c3f6ee53b9ad4a16.tar.gz
dotfiles-44f696c0ae72492882ccfad5c3f6ee53b9ad4a16.tar.bz2
dotfiles-44f696c0ae72492882ccfad5c3f6ee53b9ad4a16.zip
.bashrc: Disable ctrl+s in some conditions
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 53b358d..19e45a6 100644
--- a/.bashrc
+++ b/.bashrc
@@ -1,4 +1,4 @@
-# ~/.bashrc
+#!/bin/bash
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
@@ -7,7 +7,10 @@
shopt -s autocd;
# disable ctrl+s
+stty stop '';
+stty start '';
stty -ixon;
+stty -ixoff;
# set prompt statement
PS1='\[\e[0;34m\]\W \$\[\e[0m\] '