From d10f93fbbd4116f083a682dcf431b3b84d8ec6e4 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Sun, 9 Dec 2018 03:56:32 -0500 Subject: bashrc: debian_install_firefox() --- dot/bashrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'dot/bashrc') diff --git a/dot/bashrc b/dot/bashrc index 64fd235..e638d9b 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -199,7 +199,6 @@ memoize_retval() alias csi='csi -q' alias bc='bc -ql' - alias apt='sudo aptitude' alias df='df -x fuse' alias mtr='mtr --curses' @@ -324,7 +323,14 @@ tmux_clone() tmux new-session -t 0 -s 1 } -wifi_AP () +wifi_AP() { /sbin/iw dev wlan0 info | sed -n 's/^\taddr //p' } + +debian_install_firefox() +{ + which snap || sudo apt-get install snapd + sudo snap install firefox + printf '%s\n' 'To run firefox, execute the command:' ' snap run firefox' +} -- cgit v1.2.3