Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176165

productivity tips

From kamaraju kusumanchi <raju.mailinglists@gmail.com>
Newsgroups linux.debian.user
Subject productivity tips
Date 2017-01-01 00:20 +0100
Message-ID <sUB6p-SS-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Would you like to share some Debian tips that made a significant
impact to your productivity in 2016? Things that you wish you had
known earlier.

Here are my top two.

1) Zim
I found it useful for organizing thoughts, making todo lists, creating
documentation especially when working on multiple projects with many
task holders.

The software can be installed by apt-get install zim.

2) Searching command line history using glob patterns
Basically, when reverse searching the command history using ctrl-r,
you can use glob expressions in the search by adding the following
lines to zshrc.

# Use glob patterns when using ctrl-r
#   ctrl-r wordA*wordB
# will match commands where wordA is followed by wordB with zero or more number
# of characters in between. This functionality is not available in old zsh
# versions (ex:- 4.2.6) so check for its availability.
zle -al | grep -q history-incremental-pattern-search-backward
if [ $? -eq 0 ]; then
  bindkey "\C-r" history-incremental-pattern-search-backward
fi

Once done, ctrl-r sudo*apt*update will bring up "sudo apt-get install
update" if such a command already exists in the history.

AFAIK only zsh has this functionality.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

productivity tips kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-01-01 00:20 +0100
  Re: productivity tips Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-01-01 01:40 +0100
    Re: productivity tips Lisi Reisz <lisi.reisz@gmail.com> - 2017-01-01 01:50 +0100
      Re: productivity tips Tony Baldwin <tonybaldwin@gmx.com> - 2017-01-01 02:10 +0100
    Re: productivity tips Ben Caradoc-Davies <ben@transient.nz> - 2017-01-01 05:00 +0100
      Re: productivity tips Jude DaShiell <jdashiel@panix.com> - 2017-01-01 07:10 +0100
        Re: productivity tips <tomas@tuxteam.de> - 2017-01-01 12:50 +0100
          Re: productivity tips Richard Owlett <rowlett@cloud85.net> - 2017-01-01 13:00 +0100
            Re: productivity tips <tomas@tuxteam.de> - 2017-01-01 13:50 +0100
              Re: productivity tips Richard Owlett <rowlett@cloud85.net> - 2017-01-01 14:40 +0100
                Re: productivity tips <tomas@tuxteam.de> - 2017-01-01 15:10 +0100
                Re: productivity tips cbannister@slingshot.co.nz - 2017-03-16 13:10 +0100
                Re: productivity tips <tomas@tuxteam.de> - 2017-03-16 13:20 +0100
              Re: productivity tips Jude DaShiell <jdashiel@panix.com> - 2017-01-01 15:40 +0100
                Re: productivity tips tomas@tuxteam.de - 2017-01-01 16:10 +0100
            Re: productivity tips Jude DaShiell <jdashiel@panix.com> - 2017-01-01 15:40 +0100
  Re: productivity tips Linux-Fan <Ma_Sys.ma@web.de> - 2017-01-01 18:20 +0100

csiph-web