diff --git a/.bashrc b/.bashrc index 182c63e..55161c6 100644 --- a/.bashrc +++ b/.bashrc @@ -42,8 +42,6 @@ PATH=$PATH:/home/heero/.bin PATH=$PATH:/home/heero/.local/bin PATH=$PATH:/home/heero/.local/application/ -PS1='\[\033[01;32m\][\u]\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\]\$ ' - c_red='^[[31m' c_green='^[[32m' c_sgr0='^[[00m' @@ -102,12 +100,14 @@ parse_cvs_branch() { PS1='\033]0;$(workspaceMode.sh \w) \W\007\r\[\033[01;32m\][ \h : \u ]\[\033[01;33m\]$(parse_git_branch)$(parse_svn_branch)$(parse_cvs_branch)\[\033[00m\]\[\033[01;34m\]\w\[\033[00m\]\n\$ ' -export UBUNTU_MENUPROXY=0 +#export UBUNTU_MENUPROXY=0 export XAUTHORITY=/home/heero/.Xauthority -[[ oo $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx +#[[ oo $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx # force lang of output in english ==> better for developpement LANG=en_US.UTF-8 +# prevent the removing by error +alias rm='echo -e "========================================================\n== You must use trash instead of rm ==> prevent error ==\n========================================================\n"; echo > /dev/null' diff --git a/.config/Thunar/accels.scm b/.config/Thunar/accels.scm new file mode 100644 index 0000000..1e281e6 --- /dev/null +++ b/.config/Thunar/accels.scm @@ -0,0 +1,78 @@ +; thunar GtkAccelMap rc-file -*- scheme -*- +; this file is an automated accelerator map dump +; +; (gtk_accel_path "/ThunarLauncher/sendto-desktop" "") +; (gtk_accel_path "/ThunarStandardView/create-folder" "n") +; (gtk_accel_path "/ThunarWindow/zoom-reset" "0") +; (gtk_accel_path "/ThunarWindow/view-side-pane-menu" "") +; (gtk_accel_path "/ThunarWindow/view-as-detailed-list" "2") +; (gtk_accel_path "/ThunarWindow/open-home" "Home") +; (gtk_accel_path "/ThunarWindow/view-menu" "") +; (gtk_accel_path "/ThunarLauncher/open" "o") +; (gtk_accel_path "/ThunarWindow/go-menu" "") +; (gtk_accel_path "/ThunarBookmarks/8e2247c1d8627e482aa2b6ecf497e386" "") +; (gtk_accel_path "/ThunarWindow/open-file-system" "") +; (gtk_accel_path "/ThunarWindow/zoom-out" "minus") +; (gtk_accel_path "/ThunarStandardView/paste" "v") +; (gtk_accel_path "/ThunarLauncher/open-with-menu" "") +; (gtk_accel_path "/ThunarWindow/help-menu" "") +; (gtk_accel_path "/ThunarWindow/file-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other-in-menu" "") +; (gtk_accel_path "/ThunarWindow/detach-tab" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-tab" "p") +; (gtk_accel_path "/ThunarWindow/view-menubar" "m") +; (gtk_accel_path "/ThunarStandardView/back" "Left") +; (gtk_accel_path "/ThunarBookmarks/73c038eac37b3dcda0e7156866ebfbe9" "") +; (gtk_accel_path "/ThunarWindow/close-tab" "w") +; (gtk_accel_path "/ThunarWindow/view-as-compact-list" "3") +; (gtk_accel_path "/ThunarWindow/view-side-pane-tree" "e") +; (gtk_accel_path "/ThunarBookmarks/2edeb79d8bc81c44f4ba5acfc7f3a867" "") +; (gtk_accel_path "/ThunarStandardView/restore" "") +; (gtk_accel_path "/ThunarWindow/open-network" "") +; (gtk_accel_path "/ThunarWindow/new-tab" "t") +; (gtk_accel_path "/ThunarWindow/preferences" "") +; (gtk_accel_path "/ThunarStandardView/rename" "F2") +; (gtk_accel_path "/ThunarWindow/sendto-menu" "") +; (gtk_accel_path "/ThunarWindow/edit-menu" "") +; (gtk_accel_path "/ThunarActions/uca-action-1443600333667826-1" "") +; (gtk_accel_path "/ThunarLauncher/open-with-other" "") +; (gtk_accel_path "/ThunarBookmarks/df41e527a786ea57ad8d47afb6d0d4bb" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-toolbar" "") +; (gtk_accel_path "/ThunarStandardView/invert-selection" "") +; (gtk_accel_path "/ThunarStandardView/make-link" "") +; (gtk_accel_path "/ThunarWindow/view-as-icons" "1") +; (gtk_accel_path "/ThunarWindow/new-window" "n") +; (gtk_accel_path "/ThunarStandardView/forward" "Right") +; (gtk_accel_path "/ThunarStandardView/move-to-trash" "") +; (gtk_accel_path "/ThunarStandardView/select-by-pattern" "s") +; (gtk_accel_path "/ThunarBookmarks/2a20ac7a754d053472dec1e714145c32" "") +; (gtk_accel_path "/ThunarWindow/about" "") +; (gtk_accel_path "/ThunarStandardView/setup-columns" "") +; (gtk_accel_path "/ThunarWindow/contents" "F1") +; (gtk_accel_path "/ThunarWindow/open-desktop" "") +; (gtk_accel_path "/ThunarWindow/close-all-windows" "w") +; (gtk_accel_path "/ThunarWindow/zoom-in" "plus") +; (gtk_accel_path "/ThunarStandardView/duplicate" "") +; (gtk_accel_path "/ThunarWindow/open-parent" "Up") +; (gtk_accel_path "/ThunarWindow/view-side-pane-shortcuts" "b") +; (gtk_accel_path "/ThunarWindow/reload" "r") +; (gtk_accel_path "/ThunarWindow/open-templates" "") +; (gtk_accel_path "/ThunarStandardView/copy" "c") +; (gtk_accel_path "/ThunarWindow/view-location-selector-pathbar" "") +; (gtk_accel_path "/ThunarWindow/open-trash" "") +; (gtk_accel_path "/ThunarStandardView/properties" "Return") +; (gtk_accel_path "/ThunarStandardView/delete" "") +; (gtk_accel_path "/ThunarWindow/empty-trash" "") +; (gtk_accel_path "/ThunarWindow/view-location-selector-menu" "") +; (gtk_accel_path "/ThunarLauncher/open-in-new-window" "o") +; (gtk_accel_path "/ThunarBookmarks/d3aae9aa332b72c43cb445d6970970a3" "") +; (gtk_accel_path "/ThunarStandardView/cut" "x") +; (gtk_accel_path "/ThunarWindow/close-window" "q") +; (gtk_accel_path "/ThunarStandardView/select-all-files" "") +; (gtk_accel_path "/ThunarBookmarks/57e6723247b52eba349cf350cbcc2b96" "") +; (gtk_accel_path "/ThunarBookmarks/15740f736d9e644f05671f248aa8910a" "") +; (gtk_accel_path "/ThunarWindow/open-location" "l") +; (gtk_accel_path "/ThunarBookmarks/3bb0252b3a4d0fcb3b5b5e904bf4e7d9" "") +; (gtk_accel_path "/ThunarWindow/view-statusbar" "") +; (gtk_accel_path "/ThunarWindow/show-hidden" "h") +; (gtk_accel_path "/ThunarStandardView/paste-into-folder" "") diff --git a/.config/Thunar/renamerrc b/.config/Thunar/renamerrc new file mode 100644 index 0000000..b169f6e --- /dev/null +++ b/.config/Thunar/renamerrc @@ -0,0 +1,10 @@ +[Configuration] +LastActiveMode=THUNAR_RENAMER_MODE_BOTH +LastActiveRenamer=ThunarSbrReplaceRenamer + +[ThunarSbrReplaceRenamer] +Regexp=FALSE +Replacement=É +CaseSensitive=FALSE +Pattern=_?_ + diff --git a/.config/Thunar/uca.xml b/.config/Thunar/uca.xml new file mode 100644 index 0000000..fb04b8c --- /dev/null +++ b/.config/Thunar/uca.xml @@ -0,0 +1,13 @@ + + + + utilities-terminal + Open Terminal Here + 1443600333667826-1 + exo-open --working-directory %f --launch TerminalEmulator + Example for a custom action + * + + + + diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 59f6e51..650a57c 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -38,7 +38,9 @@ end -- {{{ Variable definitions -- Themes define colours, icons, font and wallpapers. -beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua") +-- beautiful.init(awful.util.get_themes_dir() .. "default/theme.lua") +-- beautiful.init("theme/theme.lua") +beautiful.init("~/.config/awesome/theme/theme.lua") -- This is used later as the default terminal and editor to run. terminal = "terminator" @@ -83,7 +85,7 @@ local function client_menu_toggle_fn() instance:hide() instance = nil else - instance = awful.menu.clients({ theme = { width = 250 } }) + instance = awful.menu.clients({ theme = { width = 350 } }) end end end diff --git a/.config/awesome/theme/layouts/cornerne.png b/.config/awesome/theme/layouts/cornerne.png new file mode 100644 index 0000000..e7fb61b Binary files /dev/null and b/.config/awesome/theme/layouts/cornerne.png differ diff --git a/.config/awesome/theme/layouts/cornernew.png b/.config/awesome/theme/layouts/cornernew.png new file mode 100644 index 0000000..aeaf331 Binary files /dev/null and b/.config/awesome/theme/layouts/cornernew.png differ diff --git a/.config/awesome/theme/layouts/cornernw.png b/.config/awesome/theme/layouts/cornernw.png new file mode 100644 index 0000000..bac5672 Binary files /dev/null and b/.config/awesome/theme/layouts/cornernw.png differ diff --git a/.config/awesome/theme/layouts/cornernww.png b/.config/awesome/theme/layouts/cornernww.png new file mode 100644 index 0000000..93b6706 Binary files /dev/null and b/.config/awesome/theme/layouts/cornernww.png differ diff --git a/.config/awesome/theme/layouts/cornerse.png b/.config/awesome/theme/layouts/cornerse.png new file mode 100644 index 0000000..092a905 Binary files /dev/null and b/.config/awesome/theme/layouts/cornerse.png differ diff --git a/.config/awesome/theme/layouts/cornersew.png b/.config/awesome/theme/layouts/cornersew.png new file mode 100644 index 0000000..35e900b Binary files /dev/null and b/.config/awesome/theme/layouts/cornersew.png differ diff --git a/.config/awesome/theme/layouts/cornersw.png b/.config/awesome/theme/layouts/cornersw.png new file mode 100644 index 0000000..0d519b5 Binary files /dev/null and b/.config/awesome/theme/layouts/cornersw.png differ diff --git a/.config/awesome/theme/layouts/cornersww.png b/.config/awesome/theme/layouts/cornersww.png new file mode 100644 index 0000000..2d744fd Binary files /dev/null and b/.config/awesome/theme/layouts/cornersww.png differ diff --git a/.config/awesome/theme/theme.lua b/.config/awesome/theme/theme.lua index fa7655d..d3c00fd 100644 --- a/.config/awesome/theme/theme.lua +++ b/.config/awesome/theme/theme.lua @@ -2,12 +2,19 @@ -- Default awesome theme -- --------------------------- -theme = {} +local theme_assets = require("beautiful.theme_assets") +local xresources = require("beautiful.xresources") +local dpi = xresources.apply_dpi + +local gfs = require("gears.filesystem") +local themes_path = gfs.get_themes_dir() + +local theme = {} theme.font = "sans 8" theme.bg_normal = "#222222" -theme.bg_focus = "#cc5d6c" +theme.bg_focus = "#535d6c" theme.bg_urgent = "#ff0000" theme.bg_minimize = "#444444" theme.bg_systray = theme.bg_normal @@ -17,7 +24,8 @@ theme.fg_focus = "#ffffff" theme.fg_urgent = "#ffffff" theme.fg_minimize = "#ffffff" -theme.border_width = 1 +theme.useless_gap = dpi(0) +theme.border_width = dpi(1) theme.border_normal = "#000000" theme.border_focus = "#535d6c" theme.border_marked = "#91231c" @@ -25,24 +33,37 @@ theme.border_marked = "#91231c" -- There are other variable sets -- overriding the default one when -- defined, the sets are: --- taglist_[bg|fg]_[focus|urgent|occupied|empty] +-- taglist_[bg|fg]_[focus|urgent|occupied|empty|volatile] -- tasklist_[bg|fg]_[focus|urgent] -- titlebar_[bg|fg]_[normal|focus] -- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] -- mouse_finder_[color|timeout|animate_timeout|radius|factor] +-- prompt_[fg|bg|fg_cursor|bg_cursor|font] +-- hotkeys_[bg|fg|border_width|border_color|shape|opacity|modifiers_fg|label_bg|label_fg|group_margin|font|description_font] -- Example: --theme.taglist_bg_focus = "#ff0000" --- Display the taglist squares -theme.taglist_squares_sel = "~/.config/awesome/theme/taglist/squarefw.png" -theme.taglist_squares_unsel = "~/.config/awesome/theme/taglist/squarew.png" +-- Generate taglist squares: +local taglist_square_size = dpi(4) +theme.taglist_squares_sel = theme_assets.taglist_squares_sel( + taglist_square_size, theme.fg_normal +) +theme.taglist_squares_unsel = theme_assets.taglist_squares_unsel( + taglist_square_size, theme.fg_normal +) + +-- Variables set for theming notifications: +-- notification_font +-- notification_[bg|fg] +-- notification_[width|height|margin] +-- notification_[border_color|border_width|shape|opacity] -- Variables set for theming the menu: -- menu_[bg|fg]_[normal|focus] -- menu_[border_color|border_width] -theme.menu_submenu_icon = "~/.config/awesome/theme/submenu.png" -theme.menu_height = 15 -theme.menu_width = 100 +theme.menu_submenu_icon = themes_path.."default/submenu.png" +theme.menu_height = dpi(30) +theme.menu_width = dpi(180) -- You can add as many variables as -- you wish and access them by using @@ -50,52 +71,61 @@ theme.menu_width = 100 --theme.bg_widget = "#cc0000" -- Define the image to load -theme.titlebar_close_button_normal = "~/.config/awesome/theme/titlebar/close_normal.png" -theme.titlebar_close_button_focus = "~/.config/awesome/theme/titlebar/close_focus.png" +theme.titlebar_close_button_normal = themes_path.."default/titlebar/close_normal.png" +theme.titlebar_close_button_focus = themes_path.."default/titlebar/close_focus.png" -theme.titlebar_ontop_button_normal_inactive = "~/.config/awesome/theme/titlebar/ontop_normal_inactive.png" -theme.titlebar_ontop_button_focus_inactive = "~/.config/awesome/theme/titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_active = "~/.config/awesome/theme/titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_active = "~/.config/awesome/theme/titlebar/ontop_focus_active.png" +theme.titlebar_minimize_button_normal = themes_path.."default/titlebar/minimize_normal.png" +theme.titlebar_minimize_button_focus = themes_path.."default/titlebar/minimize_focus.png" -theme.titlebar_sticky_button_normal_inactive = "~/.config/awesome/theme/titlebar/sticky_normal_inactive.png" -theme.titlebar_sticky_button_focus_inactive = "~/.config/awesome/theme/titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_active = "~/.config/awesome/theme/titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_active = "~/.config/awesome/theme/titlebar/sticky_focus_active.png" +theme.titlebar_ontop_button_normal_inactive = themes_path.."default/titlebar/ontop_normal_inactive.png" +theme.titlebar_ontop_button_focus_inactive = themes_path.."default/titlebar/ontop_focus_inactive.png" +theme.titlebar_ontop_button_normal_active = themes_path.."default/titlebar/ontop_normal_active.png" +theme.titlebar_ontop_button_focus_active = themes_path.."default/titlebar/ontop_focus_active.png" -theme.titlebar_floating_button_normal_inactive = "~/.config/awesome/theme/titlebar/floating_normal_inactive.png" -theme.titlebar_floating_button_focus_inactive = "~/.config/awesome/theme/titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_active = "~/.config/awesome/theme/titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_active = "~/.config/awesome/theme/titlebar/floating_focus_active.png" +theme.titlebar_sticky_button_normal_inactive = themes_path.."default/titlebar/sticky_normal_inactive.png" +theme.titlebar_sticky_button_focus_inactive = themes_path.."default/titlebar/sticky_focus_inactive.png" +theme.titlebar_sticky_button_normal_active = themes_path.."default/titlebar/sticky_normal_active.png" +theme.titlebar_sticky_button_focus_active = themes_path.."default/titlebar/sticky_focus_active.png" -theme.titlebar_maximized_button_normal_inactive = "~/.config/awesome/theme/titlebar/maximized_normal_inactive.png" -theme.titlebar_maximized_button_focus_inactive = "~/.config/awesome/theme/titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_active = "~/.config/awesome/theme/titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_active = "~/.config/awesome/theme/titlebar/maximized_focus_active.png" +theme.titlebar_floating_button_normal_inactive = themes_path.."default/titlebar/floating_normal_inactive.png" +theme.titlebar_floating_button_focus_inactive = themes_path.."default/titlebar/floating_focus_inactive.png" +theme.titlebar_floating_button_normal_active = themes_path.."default/titlebar/floating_normal_active.png" +theme.titlebar_floating_button_focus_active = themes_path.."default/titlebar/floating_focus_active.png" --- theme.wallpaper "/home/edupin/.config/awesome/background/background-images-15.jpg" -wallpaper_cmd = "find ~/.config/awesome/background/ -type f -name '*.jpg' -o -name '*.png' | shuf -n 1 | xargs feh --bg-scale" +theme.titlebar_maximized_button_normal_inactive = themes_path.."default/titlebar/maximized_normal_inactive.png" +theme.titlebar_maximized_button_focus_inactive = themes_path.."default/titlebar/maximized_focus_inactive.png" +theme.titlebar_maximized_button_normal_active = themes_path.."default/titlebar/maximized_normal_active.png" +theme.titlebar_maximized_button_focus_active = themes_path.."default/titlebar/maximized_focus_active.png" +theme.wallpaper = themes_path.."default/background.png" -- You can use your own layout icons like this: -theme.layout_fairh = "~/.config/awesome/theme/layouts/fairhw.png" -theme.layout_fairv = "~/.config/awesome/theme/layouts/fairvw.png" -theme.layout_floating = "~/.config/awesome/theme/layouts/floatingw.png" -theme.layout_magnifier = "~/.config/awesome/theme/layouts/magnifierw.png" -theme.layout_max = "~/.config/awesome/theme/layouts/maxw.png" -theme.layout_fullscreen = "~/.config/awesome/theme/layouts/fullscreenw.png" -theme.layout_tilebottom = "~/.config/awesome/theme/layouts/tilebottomw.png" -theme.layout_tileleft = "~/.config/awesome/theme/layouts/tileleftw.png" -theme.layout_tile = "~/.config/awesome/theme/layouts/tilew.png" -theme.layout_tiletop = "~/.config/awesome/theme/layouts/tiletopw.png" -theme.layout_spiral = "~/.config/awesome/theme/layouts/spiralw.png" -theme.layout_dwindle = "~/.config/awesome/theme/layouts/dwindlew.png" +theme.layout_fairh = themes_path.."default/layouts/fairhw.png" +theme.layout_fairv = themes_path.."default/layouts/fairvw.png" +theme.layout_floating = themes_path.."default/layouts/floatingw.png" +theme.layout_magnifier = themes_path.."default/layouts/magnifierw.png" +theme.layout_max = themes_path.."default/layouts/maxw.png" +theme.layout_fullscreen = themes_path.."default/layouts/fullscreenw.png" +theme.layout_tilebottom = themes_path.."default/layouts/tilebottomw.png" +theme.layout_tileleft = themes_path.."default/layouts/tileleftw.png" +theme.layout_tile = themes_path.."default/layouts/tilew.png" +theme.layout_tiletop = themes_path.."default/layouts/tiletopw.png" +theme.layout_spiral = themes_path.."default/layouts/spiralw.png" +theme.layout_dwindle = themes_path.."default/layouts/dwindlew.png" +theme.layout_cornernw = themes_path.."default/layouts/cornernww.png" +theme.layout_cornerne = themes_path.."default/layouts/cornernew.png" +theme.layout_cornersw = themes_path.."default/layouts/cornersww.png" +theme.layout_cornerse = themes_path.."default/layouts/cornersew.png" -theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png" +-- Generate Awesome icon: +theme.awesome_icon = theme_assets.awesome_icon( + theme.menu_height, theme.bg_focus, theme.fg_focus +) --- Define the icon theme for application icons. If not set then the icons +-- Define the icon theme for application icons. If not set then the icons -- from /usr/share/icons and /usr/share/icons/hicolor will be used. theme.icon_theme = nil return theme + -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80 diff --git a/.config/awesome/theme/titlebar/minimize_focus.png b/.config/awesome/theme/titlebar/minimize_focus.png new file mode 100644 index 0000000..ff427b3 Binary files /dev/null and b/.config/awesome/theme/titlebar/minimize_focus.png differ diff --git a/.config/awesome/theme/titlebar/minimize_normal.png b/.config/awesome/theme/titlebar/minimize_normal.png new file mode 100644 index 0000000..aa47447 Binary files /dev/null and b/.config/awesome/theme/titlebar/minimize_normal.png differ diff --git a/.config/terminator/config b/.config/terminator/config new file mode 100644 index 0000000..6adc16d --- /dev/null +++ b/.config/terminator/config @@ -0,0 +1,77 @@ +[global_config] + enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler + scroll_tabbar = True + suppress_multiple_term_dialog = True +[keybindings] + broadcast_all = None + broadcast_group = None + broadcast_off = None + close_term = None + close_window = None + copy = c + cycle_next = None + cycle_prev = None + edit_tab_title = None + edit_terminal_title = None + edit_window_title = None + full_screen = None + go_down = None + go_left = None + go_next = None + go_prev = None + go_right = None + go_up = None + group_all = None + group_all_toggle = None + group_tab = None + group_tab_toggle = None + help = None + hide_window = None + insert_number = None + insert_padded = None + layout_launcher = None + move_tab_left = None + move_tab_right = None + new_tab = t + new_terminator = None + new_window = None + next_profile = None + next_tab = None + page_down = None + paste = v + prev_tab = None + reset = None + reset_clear = None + resize_down = None + resize_left = None + resize_right = None + resize_up = None + rotate_ccw = None + rotate_cw = None + scaled_zoom = None + search = None + split_horiz = None + split_vert = None + toggle_scrollbar = None + toggle_zoom = None + ungroup_all = None + ungroup_tab = None + zoom_in = None + zoom_normal = None + zoom_out = None +[layouts] + [[default]] + [[[child1]]] + parent = window0 + type = Terminal + [[[window0]]] + parent = "" + type = Window +[plugins] +[profiles] + [[default]] + cursor_color = "#aaaaaa" + font = FreeMono 14 + scrollback_lines = 500000 + split_to_group = True + use_system_font = False diff --git a/9_remove_rm_to_prevent_error.md b/9_remove_rm_to_prevent_error.md new file mode 100644 index 0000000..00d598c --- /dev/null +++ b/9_remove_rm_to_prevent_error.md @@ -0,0 +1,23 @@ +Install trash management interface +================================== + +Remove the rm command permit to prevent the r=error of reomoving current work element + +Install +======= + +``` +pacman -S trash-cli +``` + + +Configure your bash +=================== + +edit your bashrc: ```vim ~/.bashrc``` + +``` +# prevent the removing by error +alias rm='echo -e "========================================================\n== You must use trash instead of rm ==> prevent error ==\n========================================================\n"; echo > /dev/null' +``` +