Code Monkey home page Code Monkey logo

linux.fish's Introduction

Installation

Dependencies

First, make sure you have all those things installed:

  • git: to clone the repo
  • curl: to download some stuff
  • tar: to extract downloaded stuff
  • fish: the shell
  • sudo: some configs may need that

Install

Then, run these steps:

$ git clone https://github.com/caarlos0/dotfiles.fish.git ~/.dotfiles
$ cd ~/.dotfiles
$ ./script/bootstrap.fish

All changed files will be backed up with a .backup suffix.

Update

To update, you just need to git pull and run the bootstrap script again:

$ cd ~/.dotfiles
$ git pull origin master
$ ./script/bootstrap.fish

Revert

Reverting is not totally automated, but it pretty much consists in removing the fish config and dotfiles folder, as well as moving back some config files.

Remove the folders:

$ rm -rf ~/.dotfiles ~/.config/fish

Some config files were changed, you can find them using fd:

$ fd -e backup -e local -H -E Library -d 3 .

And then manually inspect/revert them.

Recommended Software

For macOS, I recommend:

  • iTerm: a better terminal emulator;

For both Linux and macOS:

  • exa a modern replacement for ls;
  • fd a simple, fast and user-friendly alternative to find;
  • fzf for a fuzzy-finder, used in ,t on vim, for example;
  • gh for more GitHub integration with the terminal;
  • grc to colorize command's outputs;
  • starship.rs the shell we are using;
  • ripgrep a faster grep;

To install them all with brew:

On Ubuntu:

sh -c "$(curl -fsSL https://starship.rs/install.sh)"
sudo apt install fish grc fzf

macOS defaults

You use it by running:

~/.dotfiles/macos/set-defaults.sh

And logging out and in again or restart.

Themes and fonts being used

Theme is Dracula and font is Inconsolata Nerd Font.

linux.fish's People

Contributors

caarlos0 avatar daltonsena avatar flydiverny avatar habnai avatar nersesam avatar rtaugerbeck avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.