Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043https://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • Command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

  • Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • Command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

  • Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at https://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • Command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

  • Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,

added 3 characters in body
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • commandCommand line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

  • Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • Command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

  • Use the z-shell which tends to have more built in support and better options such as cdpath (the Z Shell's menu-format directory completion) and the Z Shell's autocd option,

added 3 characters in body
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='q='cd /home/durrantm/Dropbox/95_201494_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='/home/durrantm/Dropbox/95_2014/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

There are a lot of different options to choose from to help out with these issues:

  • Use aliases

    • Both for commonly used directories, e.g. alias q='cd /home/durrantm/Dropbox/94_2015/work/code/ruby__rails/ruby/ruby_quiz' and also for common commands. Even alias p=pwd makes life easier when you type pwd a hundred times a day. You'll notice that one letter aliases are a favorite trick of mine.
  • Customize your PS1 prompt (search for PS1 prompt) to help show you where you are. Here's mine: enter image description here Features:

    • shows top 3 and bottom 2 directories (with underscore between when more than 5 levels)
    • does a carriage return so actual prompt is on a new line
    • uses color for the different information
    • show my git branch when I'm in a git project.
    • works on both Ubuntu and OSX (I use both daily)
    • shows date, user and machine

    More at http://unix.stackexchange.com/a/127800/10043

  • Use ctrl-p within vim as indicated and shown by muru

  • Install and use autojump (https://github.com/wting/autojump) to remember your visited command line directories. This may be perfect for you.

  • command line fuzzy finder may also suit your style - more at https://github.com/junegunn/fzf

added 98 characters in body
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237
Loading
added 610 characters in body
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237
Loading
Source Link
Michael Durrant
  • 43.7k
  • 73
  • 176
  • 237
Loading