Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Just a couple of useful bash aliases and tools

License

NotificationsYou must be signed in to change notification settings

fastiuk/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is instruction how to install and useBashAliases

Installation

  1. Install all needed tools:

    $ sudo apt install git grc
  2. InstallBashAliases:

    $ git clone https://github.com/yevfast/bash-aliases.git$ ln -sf$PWD/bash-aliases/.bash_aliases~/$.~/.bashrc

Uninstallation

  1. You need to remove file.bash_aliases from home directory:

    $ rm~/.bash_aliases

Install from terminal

Run the next command in the terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/fastiuk/bash-aliases/main/setup.sh)"

fish-config

Configuration files for fish shell

Installation

Before you would use this config you will need fish shell.You can install it by your favourite package manager or build it by yourself.I recommendfish v3.3.1.To build it from source code use the next steps:

# Download fish shell source codewget https://github.com/fish-shell/fish-shell/releases/download/3.3.1/fish-3.3.1.tar.xztar xvf fish-3.3.1.tar.xzcd fish-3.3.1# Buildmkdir build; cd buildcmake ..makesudo make installfish

Now you are able to install

# Clone config to desired locationgit clone https://github.com/fastiuk/fish-config# Remove your current fish config or backup itrm -r ~/.config/fish/# Install new fish configln -s (pwd)/fish-config/fish ~/.config/fish

You can also include your bash aliases to fish environment.Just link it to .profile file.

cdln -s .bash_aliases .profileexitfish

Kudos

  • This config usesbass plugin to read bash-like rc files. Prepare desired bashrc or other *rc files and source it in ~/.profile file. fish-config will read ~/.profile and you will be able to use your favorite aliases/functions.
  • Nathaniel forthis answer. It allows you to use "sudo !!" - my favourite shortcut.

About

Just a couple of useful bash aliases and tools

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp